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

Create collection participant may incorrectly try to release the critical section

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • CAR Team 2023-11-27

      (At the time of writing, no released version is affected by the bug because the new coordinator is feature flagged).

      SERVER-79491 introduced the acquisition/release of critical section on participant shards. The release is calling into the ShardSvrParticipantBlockCommand that is throwing if the critical section reason differs.

      This can lead to hit an invariant in the same way described in SERVER-70167, with the difference that it could be hit on a participant node rather than on the coordinator node.

      A possible solution would be to add a flag to the command indicating not to throw in case the reason differs.

            Assignee:
            pol.pinol@mongodb.com Pol Pinol
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: