TLA+ spec + jstest: OplogProvider shutdown must not deadlock

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Companion artifact for SERVER-125455 (OplogProvider::stop() deadlocks → total mongod hang).

      Exact ordering bug: `shutdown(); join(); ~_opCtxHolder()` — consumer parked in WT-eviction wait needs OpCtx killed but kill happens AFTER join which never returns. TLC verified: fix cfg 92 states clean; bug cfg produces ~48-state liveness counter-example.

      Files in worktree mongo-w4-19:

      • src/mongo/tla_plus/Replication/OplogProviderShutdownLiveness/{*.tla, MC.cfg, MC_bug.cfg, OWNERS.yml}
      • jstests/noPassthrough/oplog/oplog_provider_shutdown_no_hang.js

      Status: Draft.

            Assignee:
            Unassigned
            Reporter:
            Mehar Grewal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: