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

Refresh the IP resolved for hosts frequently enough to pick up dns changes for direct and mongos connections

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Connection Management
    • None

      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.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: