Try to reconnect to mongodb when the client library raised a
ConnectionFailure error. This is especially useful when mongodb is in
the process of initializing a replica set and it does not respond to
connections even though the mongodb service is up.
Reviewed: https:/ /review. openstack. org/86609 /git.openstack. org/cgit/ openstack/ ceilometer/ commit/ ?id=ced867e7fea be830ca193add54 37f12276b9dc05
Committed: https:/
Submitter: Jenkins
Branch: master
commit ced867e7feabe83 0ca193add5437f1 2276b9dc05
Author: Ionuț Arțăriși <email address hidden>
Date: Thu Apr 10 16:25:52 2014 +0200
reconnect to mongodb on connection failure
Try to reconnect to mongodb when the client library raised a ailure error. This is especially useful when mongodb is in
ConnectionF
the process of initializing a replica set and it does not respond to
connections even though the mongodb service is up.
Change-Id: I1818d90c135b24 8a28b35dc0b9f61 06cf89496ab
Closes-Bug: #1305920