moveChunk should not return InterruptedDueToReplStateChange from a healthy primary

XMLWordPrintableJSON

    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v9.0
    • CAR Team 2026-08-17
    • 200
    • 🟥 DDL
    • None
    • None
    • None
    • None
    • None
    • None

      The MoveRangeCoordinator may return InterruptedDueToReplStateChange to the config server. When that happens, the config server marks the shard primary as unknown and blocks subsequent commands to that shard that use PrimaryOnly read preference until the next heartbeat resolves the shard's primary again (similar as what happened in SERVER-91331)

      This can happen because MoveRangeCoordinator explicitly throws InterruptedDueToReplStateChange when recovering in the kMigrate and kEnterCriticalSection phases, as shown in move_range_coordinator.cpp.

       

            Assignee:
            Silvia Surroca
            Reporter:
            Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: