[JAVA-1159] Retry once before declaring a server down Created: 04/Apr/14  Updated: 30/Jan/15  Resolved: 28/Apr/14

Status: Closed
Project: Java Driver
Component/s: Cluster Management
Affects Version/s: 2.12.0
Fix Version/s: 2.12.1, 3.0.0

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The background thread currently maintains a persistent connection to each server in the cluster. If the server goes down or the connection goes bad, rather than immediately report the server as down, do one retry with a new connection.



 Comments   
Comment by Githook User [ 30/Jan/15 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-1159: If the connection wasn't already null, retry once before declaring a server down.
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/51eac0b7c716c7fb7cfda3f0160e3e1667a245d0

Comment by Githook User [ 01/Aug/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-1159: null out the connection before trying to construct it again.
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/0ab988b9df0c4f6d65ae2dac03868f51e7150f7a

Comment by Githook User [ 01/Aug/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-1159: If the connection wasn't already null, retry once before declaring a server down.
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/5ab8d22d8e5c784d6899d479a229a3c5b4eda048

Comment by Jeffrey Yemin [ 29/Apr/14 ]

Closing for 2.12.1 release.

Comment by Githook User [ 28/Apr/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-1159: If the connection wasn't already null, retry once before declaring a server down.
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/51eac0b7c716c7fb7cfda3f0160e3e1667a245d0

Comment by Githook User [ 26/Apr/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-1159: null out the connection before trying to construct it again.
Branch: 2.12.x
https://github.com/mongodb/mongo-java-driver/commit/0ab988b9df0c4f6d65ae2dac03868f51e7150f7a

Comment by Githook User [ 08/Apr/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-1159: If the connection wasn't already null, retry once before declaring a server down.
Branch: 2.12.x
https://github.com/mongodb/mongo-java-driver/commit/5ab8d22d8e5c784d6899d479a229a3c5b4eda048

Generated at Thu Feb 08 08:53:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.