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

Add invariant that lastOpApplied doesn't change during secondary batch application

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • v3.6
    • Repl 2018-01-15, Repl 2018-02-26

    Description

      At the end of applying a batch we move the lastOpApplied forward - right before we do that we should invariant that the lastOpApplied is still the same as what it was at the beginning of the batch, to ensure we're never setting inconsistent points as a stable timestamp candidate.

      Attachments

        Activity

          People

            kyle.suarez@mongodb.com Kyle Suarez
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: