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

Rollback and batch apply can each set minvalid independantly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • 3.0.6, 3.1.8
    • None
    • Replication
    • None
    • ALL

    Description

      Due to the way sync_tail and bgsync interact while applying and fetching documents it is possible both, during a rollback, write to the minvalid collection with different values.

      Since rollback will transition to a non-readable state, like rollback and the applier stops it should be safe but more investigation should be taken.

      And we should probably disallow this race all together, by ensuring the batch completes before we enter rollback.

      Attachments

        Issue Links

          Activity

            People

              scotthernandez Scott Hernandez
              scotthernandez Scott Hernandez
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: