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

Invalidate existing primaries whenever a primary is detected

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.12.0, 3.0.0
    • None
    • Cluster Management
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: