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

Ensure replication batch finishes before shutdown

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.3.12
    • Component/s: Replication
    • Labels:
      None

      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

              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: