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

Race condition on reinitializeStorageEngine

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc1, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v6.0
    • Execution Team 2022-05-02
    • 175

      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.

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

              Created:
              Updated:
              Resolved: