Prevent deadlock during stepup

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Repl 2024-01-08
    • 3
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We have multiple services that should be initiated (through onStepUp interface) while the node is stepping up, and because of primary acquire collection locks during reconstructing prepared transactions, any collection acquiring strong locks after that will cause a deadlock.
      This issue happened multiple times, so we need to put a guard against it. 

              Assignee:
              [DO NOT USE] Backlog - Replication Team
              Reporter:
              Moustafa Maher
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: