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

Prevent deadlock during stepup

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Replication
    • Repl 2024-01-08
    • 3

    Description

      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. 

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            m.maher@mongodb.com Moustafa Maher
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated: