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

Prevent deadlock during stepup

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

      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:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            m.maher@mongodb.com Moustafa Maher
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: