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

Reconfig can roll back committed writes in PSA sets

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.11, 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v4.4
    • Repl 2021-04-05, Repl 2021-04-19, Repl 2021-05-17

      1. Consider a PSA set in config C0.
      2. We then reconfig to C1 where the "S" node has votes:0.
      3. The "S" node goes down and falls behind as the Primary accepts and commits many writes.
      4. The "S" node restarts.
      5. Now the DBA reconfigures the "S" node to have votes:1 again in C2.
      6. The "S" node gets elected with the arbiter's vote, but without all of the writes the original primary committed while "S" was down.

            Assignee:
            xuerui.fa@mongodb.com Xuerui Fa
            Reporter:
            judah.schvimer@mongodb.com Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: