TLA+ spec + jstest + design: interruptible atomic wait on OperationContext

    • 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-75430 (TicketPool / PriorityTicketHolder polls checkForInterrupt every 500ms; killOp/shutdown can stall behind polling timer).

      TLC verified: good cfg 94 distinct states clean; bug cfg produces 6-state liveness counter-example. Fix sketch: `waitForAtomicOrInterrupt(opCtx, atomic, predicate)` joining wake sources via futex(2) waitv.

      Files in worktree mongo-w5-4:

      • src/mongo/tla_plus/Concurrency/WaitForAtomicOrInterrupt/
      • jstests/noPassthrough/atomic_wait_responds_to_interrupt.js
      • src/mongo/util/SERVER-75430-design.md

      Status: Draft.

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

              Created:
              Updated: