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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Connection Management
    • None

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: