Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-31274

With chaining enabled, a healthy primary may lose an election to a node that does not see it

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Works as Designed
    • 3.2.0, 3.4.0, 3.5.13
    • None
    • Replication
    • None
    • Replication
    • ALL

    Description

      Consider the following example with PV1,

      A three node replica set with chaining enabled where A is primary and C has B as it's sync source: A <- B <- C

      If B does not see heartbeats from A, it will call for an election. C will vote for B despite having a healthy connection to A. As a result, a failover will occur despite a majority of nodes being able to see the primary.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-repl Backlog - Replication Team
              kelsey.schubert@mongodb.com Kelsey Schubert
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: