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

Fix race in BackgroundSync between making RollbackImpl and shutdown

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0, 6.0.15, 5.0.27, 7.0.9
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Fully Compatible
    • ALL
    • v7.0, v6.0, v5.0
    • Repl 2024-03-18
    • 137

      There could be a race between where BackgroundSync::shutdown shuts down RollbackImpl here and where we make it in _runRollbackViaRecoverToCheckpoint here (see BF-32083). Creating the RollbackImpl should also be done while holding the mutex

            Assignee:
            huayu.ouyang@mongodb.com Huayu Ouyang
            Reporter:
            huayu.ouyang@mongodb.com Huayu Ouyang
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: