[JAVA-753] Java Driver sending reads with NEAREST preference to nodes in RECOVERING state Created: 07/Feb/13  Updated: 02/Jul/13  Resolved: 25/Feb/13

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.11.0

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

Issue Links:
Depends
Duplicate
is duplicated by JAVA-861 query being routed to recovering node... Closed
Related
related to JAVA-708 ReadPreference.nearest() does not cou... Closed

 Description   

When using the NEAREST read preference, the Java driver will continue to send requests to a secondary after it has been set into RECOVERING state via db.adminCommand(

{ replSetMaintenance: true }

). Confirmed by running the profiler at level 2 on the RECOVERING secondary. The driver will continue to send reads to the RECOVERING node indefinitely.



 Comments   
Comment by auto [ 08/Feb/13 ]

Author:

{u'date': u'2013-01-07T16:34:34Z', u'email': u'jeff.yemin@10gen.com', u'name': u'Jeff Yemin'}

Message: JAVA-708, JAVA-753: Fixed several read preference bugs which caused queries to be sent to secondaries with unacceptable latency and members that are not available for reads (in recovering state)
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/f97eb442eec7332ac34fa74b0b46983743b3a095

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