[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:
Duplicate
duplicates JAVA-310 Driver reconnect does not detect netw... Closed
is duplicated by JAVA-560 Mongo and Mongo.Holder internal pooli... Closed
Related
related to JAVA-266 Need to update the IP resolved for ho... Closed

 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.


Generated at Thu Feb 08 08:52:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.