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

Race condition on reinitializeStorageEngine

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc1, 6.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • Execution Team 2022-05-02
    • 175

    Description

      reinitializeStorageEngine() first sets the TicketHolders to nullptr, and then reinitializes them, all of it while holding the global lock.

      However other operations could be accessing the TicketHolders concurrently, since that happens before acquiring the global lock.

      Attachments

        Activity

          People

            gregory.wlodarek@mongodb.com Gregory Wlodarek
            daniel.gomezferro@mongodb.com Daniel Gomez Ferro
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: