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

Ensure replication batch finishes before shutdown

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.12
    • Affects Version/s: 3.3.0
    • Component/s: Replication
    • None
    • Fully Compatible
    • Repl 2016-08-29

      Much like SERVER-24933, we should ensure that our shutdown lands between apply batches.

      There are a few ways to get there:

      1. Ignore shutdown interruptions during apply batch (not good for long running applies like index builds)
      2. Have shutdown wait for the current apply batch (similar to above)
      3. Undo/reset current batch work on shutdown to be in a consistent state

      In addition we should move setting the minvalid boundaries under the PBWM lock so that minvalid reflects the completed apply batch.

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: