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

Make the `_shardsvrMovePrimaryExitCriticalSection` command idempotent

    • Sharding EMEA
    • Fully Compatible
    • Sharding EMEA 2023-02-20, Sharding EMEA 2023-03-06
    • 135

      The _shardsvrMovePrimaryExitCriticalSection command is used in the context of the movePrimary command by the donor to ask the recipient to exit its critical section.

      There are situation where the command reply is not received by the donor, although the critical section was actually exited. The critical section (on the recipient) could be re-entered by another operation, and the second call attempt from the donor could fail since the passed reason differs from the one of the entered critical section.

      One goal of this ticket is make the _shardsvrMovePrimaryExitCriticalSection command idempotent (in the end the passed critical section is actually exited).

       

            Assignee:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Reporter:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: