[JAVA-224] Java driver doesn't automatically discover replica set passive nodes Created: 01/Dec/10  Updated: 17/Mar/11  Resolved: 08/Feb/11

Status: Closed
Project: Java Driver
Component/s: Cluster Management
Affects Version/s: 2.3
Fix Version/s: 2.5

Type: Bug Priority: Major - P3
Reporter: Daniel Rinehart Assignee: Antoine Girbal
Resolution: Fixed Votes: 0
Labels: None

# Replies: 2
Days since reply: 7 years, 23 weeks, 5 days ago
Date of 1st Reply:
Last commenter: Rathi Gnanasekaran
Last comment by Customer: true


When creating a Mongo connection using "public Mongo( List<ServerAddress> replicaSetSeeds , MongoOptions options )" passive replica set members are not discovered and being added to the list automatically. It looks like ReplicaSetStatus$Node's update() method only looks at the "hosts" portion of the response, ignoring passives.

Comment by Antoine Girbal [ 08/Feb/11 ]

fixed and tested.
List of hosts will now be populated from both "hosts" and "passives".

Comment by auto [ 08/Feb/11 ]


{u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}

Message: JAVA-224: Java driver doesn't automatically discover replica set passive nodes

Generated at Sun Jul 15 19:30:40 UTC 2018 using JIRA 7.8.2#78002-sha1:944b71ecbe2e09c23503821098ef280c785b44a8.