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

Invalidate existing primaries whenever a primary is detected

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.12.0, 3.0.0
    • Affects Version/s: None
    • Component/s: Cluster Management
    • Labels:
      None

      When connected to a replica set, the driver maintains a list of all the servers in the replica set, with information about each gleaned from the isMaster command. During a failover, depending on timing, the driver could end up with two primaries in this list. The driver should detect and correct this incorrect state by invalidating and attempting to reconnect with any existing primaries in the list whenever a new primary responds to isMaster.

        There are no Sub-Tasks for this issue.

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

              Created:
              Updated:
              Resolved:

                Error rendering 'slack.nextup.jira:slack-integration-plus'. Please contact your Jira administrators.