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

Retake critical section on step up can invariant because of ReplWriterWorker

    • Fully Compatible
    • Sharding EMEA 2021-05-03

      On a just elected primary node, it can happen that a ReplWriterWorker is still catching up the oplog causing this check to pass and - subsequently - the critical section to be acquired.

      When this happens, an invariant is triggered during drain mode when trying to retake the critical section (already acquired by the sharding observer).

            Assignee:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: