[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, 45 weeks, 3 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 Sat Dec 15 05:29:14 UTC 2018 using Jira 7.12.1#712002-sha1:609a50578ba6bc73dbf8b05dddd7c04a04b6807c.