Donor waits for majority committed no-op write on recipient primary

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Server Serverless 2022-09-05
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The final step of the shard split critical section must wait for a no-op write to majority commit on the recipient primary to prevent invariant rollback of the stable_timestamp on the recipient. If the node selected to be recipient primary goes down after winning an election, another node with a lower lastApplied may win a subsequent election and force the original primary to rollback when it comes back online. Waiting for the selected recipient primary to majority commit a no-op entry while its primary ensures future elections will not cause this rollback.

            Assignee:
            Matt Broadstone
            Reporter:
            Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: