jstest + design: stepUpIfEligible must respect OperationContext interrupt

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

      Companion artifact for SERVER-125948 (disagg-availability — stepUpIfEligible doesn't thread opCtx through internal waits; linked to BF-43105, 10% repro under disagg_pali_chaos).

      Signature already has `OperationContext* opCtx` — fix is purely about using it (waitForConditionOrInterrupt sweep + CancellationToken::fromOpCtx). Cites SERVER-126425 WCRetry interruptibility as precedent.

      Files in worktree mongo-w5-5:

      • jstests/replsets/stepup_if_eligible_responds_to_shutdown.js
      • src/mongo/db/repl/SERVER-125948-design.md

      Status: Draft.

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

              Created:
              Updated: