Handle index inconsistencies in add/remove shard suites

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2026-05-25, CAR Team 2026-06-08
    • 200
    • 🟥 DDL, 🟩 Routing and Topology
    • None
    • None
    • None
    • None
    • None
    • None

      Due to SERVER-99357, drop/createIndexes with concurrent chunk migrations can cause index inconsistencies for a collection. These inconsistencies can prevent future chunk migrations from succeeding, which can block removeShard.

      The root cause is a known issue which will be addressed in the future, but in the meantime we should add some additional error handling to the add/remove shard background hook so that it doesn't hang and timeout when this issue is hit.

            Assignee:
            Allison Easton
            Reporter:
            Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: