Fix race in BackgroundSync between making RollbackImpl and shutdown

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Huayu Ouyang
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: