Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-82408

Deprecate ConfigsvrSetAllowMigration command

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Sharding
    • None
    • Catalog and Routing
    • Sharding EMEA 2023-10-30

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-catalog-and-routing Backlog - Catalog and Routing
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: