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

Retake critical section on step up can invariant because of ReplWriterWorker

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • Sharding EMEA 2021-05-03

    Description

      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).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: