[CDRIVER-758] priority=0 (passives) servers ignored Created: 21/Jul/15  Updated: 17/Aug/15  Resolved: 21/Jul/15

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: 1.1.9
Fix Version/s: 1.2-beta0

Type: Bug Priority: Major - P3
Reporter: Hannes Magnusson Assignee: A. Jesse Jiryu Davis
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CDRIVER-438 Implement Server Discovery And Monito... Closed

 Description   

The 1.1.x series ignores "passives" hosts from isMaster.

This means any server with priority=0 will be willfully ignored and pretended to not exist.

This can in certain cases cause the driver to report no available servers for secondary reads and/or failing to discover replicaset changes (such as primary changes).



 Comments   
Comment by Hannes Magnusson [ 21/Jul/15 ]

This is resolved in 1.2.0 – with the introduction of the SDAM spec

Generated at Wed Feb 07 21:10:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.