Handle range deleter service `onStepDown` race conditions

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • ALL
    • Sharding EMEA 2022-09-19
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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:

            Assignee:
            Pierlauro Sciarelli
            Reporter:
            Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: