ExportXMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Fully Compatible
    • ALL
    • Repl 2026-06-08, Repl 2026-06-22
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There is a specific race that is possible (found by Antithesis) where after a specific interleaving the _bgSync object would have not been created yet when the mongod went to stepup from primary, which means that when we are in stepup the state would be the default which is Starting instead of the expected Stopped. This means that startup will cause the bgsync thread to fetch oplog entries, which means the primaries tries to apply its own writes. This crashes due to stable timestamp assertions, and the node can restart and recover automatically.

            Assignee:
            Sean Zimmerman
            Reporter:
            Sean Zimmerman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: