Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-14979

Investigate changes in SERVER-56227: Add user-facing command to set allowMigrations to false for a sharded collection

    XMLWordPrintable

Details

    • 2
    • ServerDocs2022: Jan11 - Jan18, ServerDocs2022: Jan4 - Jan11
    • true

    Description

      Downstream Change Summary

      A new command was added in SERVER-56227 and backported to versions 4.2, 4.4 and 5.0 with the following format:

      db.adminCommand(

      Unknown macro: {setAllowMigrations}

      );

      After executed prevent the start of new migrations, prevent in-flight migrations from committing, and prevent the balancer from doing new rounds. It requires the same permissions as moveChunk

      Description of Linked Ticket

      Proposed syntax:

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

      Attachments

        Issue Links

          Activity

            People

              joseph.dougherty@mongodb.com Joseph Dougherty
              backlog-server-pm Backlog - Core Eng Program Management Team
              Githook User Githook User
              Jason Price Jason Price
              Marcos José Grillo Ramirez, Max Hirschhorn
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                22 weeks, 6 days ago