Chunk operations must honor 'allowMigrations' flag

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2026-05-11
    • 🟥 DDL
    • None
    • None
    • None
    • None
    • None
    • None

      In the new shard-authoritative world, all chunk operations must be paused while DDL operations are running. This requires a reimplementation of the setAllowMigrations() machinery because, right now, it's only stopping migrations.

      A resulting requirement is that chunk operations must not commit while the allowMigrations flag is enabled on the config server. This guarantees that the _shardsvrAllowChunkOperations command can assume no chunk operation will update the collection's ShardVersion after _configsvrSetAllowMigrations has run.

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

              Created:
              Updated:
              Resolved: