Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-224

Java driver doesn't automatically discover replica set passive nodes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.5
    • Component/s: Cluster Management
    • Labels:
      None
    • # Replies:
      2
    • Last comment by Customer:
      true

      Description

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                6 years, 37 weeks, 5 days ago
                Date of 1st Reply: