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

Rollback and batch apply can each set minvalid independantly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 3.0.6, 3.1.8
    • Fix Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Operating System:
      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

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

                Dates

                Created:
                Updated:
                Resolved: