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

Make the `_shardsvrMovePrimaryExitCriticalSection` command idempotent

    XMLWordPrintableJSON

Details

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

    Description

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

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: