Introduce a new state to signal writer drained and start applier draining

XMLWordPrintableJSON

    • Replication
    • Fully Compatible
    • v8.0
    • Repl 2024-04-29
    • 140
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      With the introduction of the new OplogWriter, the current approach to signalDrainComplete (done by SERVER-85696 and SERVER-85698) suffers from race conditions in rapid back-to-back failovers. We should instead introduce a new intermediate state to signal that the writer has been drained and the applier has started draining.

              Assignee:
              Wenbin Zhu
              Reporter:
              Wenbin Zhu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: