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

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.2.0, 3.4.0, 3.5.13
    • Component/s: Replication
    • None
    • Replication
    • ALL

      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.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            kelsey.schubert@mongodb.com Kelsey Schubert
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: