ExportXMLWordPrintableJSON

    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v9.0, v8.3
    • CAR Team 2026-09-14
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The configsvrCommitMovePrimary command throws ShardNotFound if the destination shard is found as draining. Because it does this prior to checking if the command had previously succeeded, this can cause the following problematic scenario:

      1. Start movePrimary from shard0 to shard1
      2. Commit the movePrimary to the config server via configsvrCommitMovePrimary (success)
      3. Hit a retriable error on the coordinator (for example, a stepdown or a network error when committing to the shard authoritative catalog)
      4. Retry the coordinator pass after this check
      5. Mark the destination shard (shard1) as draining (startShardDraining or removeShard)
      6. configsvrCommitMovePrimary is retried and hits ShardNotFound
      7. We abort the coordinator leaving the shard authoritative metadata not updated

            Assignee:
            Wolfee Farkas
            Reporter:
            Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: