[JAVA-707] Refresh the IP resolved for hosts frequently enough to pick up dns changes for direct and mongos connections Created: 03/Dec/12 Updated: 25/Jun/13 Resolved: 25/Jun/13 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Connection Management |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Jeffrey Yemin |
| Resolution: | Duplicate | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
IP address resolution is cached in ServerAddress, and refreshed regularly by ReplicaSetStatus as part of background processing of the replica set status. But it's not updated at all for direct or mongos HA connections, so a restart is required to pick up DNS changes. |