Deprecate ConfigsvrSetAllowMigration command

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Catalog and Routing
    • Sharding EMEA 2023-10-30
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently for sharded clusters collmod, drop collection, drop database, refine collection shard key and rename uses the ConfigsvrSetAllowMigration command to leave the cluster in a steady state regarding migrations before doing any metadata change.

      The command was done in SERVER-53861 in a time where PM-2210 was not implemented so it was not possible running cluster wide transactions internally. We can now deprecate the ConfigsvrSetAllowMigrations command and move it's implementation to every DDL coordinator using a remote transaction with the internal API.

            Assignee:
            Unassigned
            Reporter:
            Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: