setFCV should abort resharding coordinators before draining in config shard topology

XMLWordPrintableJSON

    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2026-06-08, CAR Team 2026-06-22
    • 🟩 Routing and Topology
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, the condition for running shard server phase1 tasks is role->has(shard). We should consider changing this to role->isShardOnly instead.

      This is because config servers are also shards so it can end up executing the phase1 logic twice (2nd time here). And some logic that was intended to run on config first like the changes in SERVER-102971 to move abort resharding logic end up being useless because the shard1 phase will end up being executed first.

            Assignee:
            Joan Bruguera Micó
            Reporter:
            Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: