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

Add user-facing command to set allowMigrations to false for a sharded collection

    XMLWordPrintable

Details

    • Fully Compatible
    • v5.1, v5.0, v4.4, v4.2
    • Sharding EMEA 2021-08-23, Sharding EMEA 2021-09-06, Sharding EMEA 2021-09-20, Sharding EMEA 2021-10-04, Sharding EMEA 2021-10-18, Sharding EMEA 2021-11-01, Sharding EMEA 2021-11-15, Sharding EMEA 2021-11-29
    • 170

    Description

      Proposed syntax:

      db.adminCommand({setAllowMigrations: "db.collection", allowMigrations: false});
      

      Attachments

        Issue Links

          Activity

            People

              marcos.grillo@mongodb.com Marcos José Grillo Ramirez
              max.hirschhorn@mongodb.com Max Hirschhorn
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: