replSetStepDown should wait for last write to commit

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 3.2.12, 3.4.0-rc4
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • v3.2
    • Repl 2016-10-31, Repl 2016-11-21
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Today, replSetStepDown waits for one node to have caught up completely with it. Instead, we can change this behavior to wait for a majority of nodes to catch up completely with it.
      In this way, we can avoid all rollbacks that might result from the primary stepping down.

            Assignee:
            Will Schultz
            Reporter:
            Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: