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

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

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

      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@mongodb.com Wenbin Zhu
            Reporter:
            wenbin.zhu@mongodb.com Wenbin Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: