Mongo.getAllAddress Includes Auto-Discovered Nodes

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.4.0
    • Affects Version/s: 3.0.0
    • Component/s: API
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
            Jeffrey Yemin
            Reporter:
            Joshua Matthews (Inactive)
            None
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: