Make ShardVersionMismatch handling (disk recovery + waits) interruptible end-to-end

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • CAR Team 2026-05-11, CAR Team 2026-05-25, CAR Team 2026-06-08
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The ShardVersionMismatch handling currently spans several stages (reading metadata from disk, installing it in memory, and waiting for CSS changes to arrive) and not all of them are cleanly interruptible. We need the whole workflow to be interruptible so that, when interrupted, the ShardVersionMismatch can be restarted from its first step.

      Scope: Ensure every stage of the flow (disk recovery, in-memory installation, and any waits on the CSS) checks for and honors interruption, so the thread can be unblocked and the workflow restarted from scratch.

      Motivation: This is a first step towards supporting FCV upgrade/downgrade transitions, where in-flight ShardVersionMismatch handling may need to be aborted and retried under the new FCV.

            Assignee:
            Joan Bruguera Micó
            Reporter:
            Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: