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

Mongo.getAllAddress Includes Auto-Discovered Nodes

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.4.0
    • 3.0.0
    • API
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: