-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:
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});
- documents
-
SERVER-56227 Add user-facing command to set allowMigrations to false for a sharded collection
- Closed