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

Ensure replication batch finishes before shutdown

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.3.0
    • 3.3.12
    • Replication
    • None
    • Fully Compatible
    • Repl 2016-08-29

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: