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

Rollback and batch apply can each set minvalid independantly

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.0.6, 3.1.8
    • Component/s: Replication
    • None
    • ALL

      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.

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

              Created:
              Updated:
              Resolved: