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

Mongo.getAllAddress Includes Auto-Discovered Nodes

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.0
    • Affects Version/s: 3.0.0
    • Component/s: API
    • None

      In previous versions of the java driver (last seen in 2.14) getAllAddress would return a list of server addresses from when the client was created. In the current version it tries to perform auto discovery before returning the list. According to the javadoc and TODO on that method, this should be changed to the old behavior of only returning the nodes given to construct the client, without including auto-discovered nodes.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            joshua.matthews@mongodb.com Joshua Matthews (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: