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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: 3.2.0, 3.4.0, 3.5.13
    • Fix Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Operating System:
      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

              • Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: