[JAVA-2387] Mongo.getAllAddress Includes Auto-Discovered Nodes Created: 16/Nov/16 Updated: 18/Nov/16 Resolved: 18/Nov/16 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | API |
| Affects Version/s: | 3.0.0 |
| Fix Version/s: | 3.4.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Joshua Matthews (Inactive) | Assignee: | Jeffrey Yemin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| 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. |
| Comments |
| Comment by Githook User [ 18/Nov/16 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: |