[JAVA-1274] "not master" and "node is recovering" error messages should trigger a refresh of the server state Created: 12/Jun/14  Updated: 31/Mar/15  Resolved: 19/Oct/14

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

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

Epic Link: SDAM

 Description   

"not master" and "node is recovering" error messages should trigger a refresh of the server state, since it means that the driver's current view of the state is no longer accurate (otherwise the operation would not have been sent to that server in the first place).

In addition, the connection pool for that server should be cleared.



 Comments   
Comment by Jeffrey Yemin [ 31/Mar/15 ]

Closing all resolved 3.0.0 issues, as 3.0.0 has been tagged and released.

Comment by Githook User [ 30/Jan/15 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Handle "not master" / "recovering" errors from writes

JAVA-1274
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/1e3ca075b8cb2f77d7efb4d30c6fc9a7c3b17064

Comment by Githook User [ 19/Oct/14 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Handle "not master" / "recovering" errors from writes

JAVA-1274
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/1e3ca075b8cb2f77d7efb4d30c6fc9a7c3b17064

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