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

Handle range deleter service `onStepDown` race conditions

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None
    • ALL
    • Sharding EMEA 2022-09-19

    Description

      Handle the following improbable but risky race conditions in the range deleter service:

      • The onStepDown hook may be invoked even if no step-up had previously happened in case of rollback (even when rollbacking happening on a SECONDARY node):
      • As the recovery of range deleter tasks is only spawned on step-up but may complete later, it's not assumable that the node is still primary when the recovery finishes:

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: