[SERVER-56227] Add user-facing command to set allowMigrations to false for a sharded collection Created: 21/Apr/21  Updated: 29/Oct/23  Resolved: 22/Nov/21

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 5.2.0, 5.1.2, 5.0.6, 4.4.11, 4.2.18, 5.0.5

Type: New Feature Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Marcos José Grillo Ramirez
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Documented
is documented by DOCS-14979 Investigate changes in SERVER-56227: ... Closed
Problem/Incident
Related
is related to SERVER-56226 [v4.4] Introduce 'permitMigrations' f... Closed
is related to SERVER-50027 Freeze migrations on original sharded... Closed
is related to SERVER-53861 Implement stop migrations procedure f... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.1, v5.0, v4.4, v4.2
Sprint: 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
Participants:
Case:
Linked BF Score: 170

 Description   

Proposed syntax:

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



 Comments   
Comment by Githook User [ 26/Nov/21 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-56227 Add user-facing command for permitMigrations using DDL coordinator

(cherry picked from commit ddb38e8c0da429630eebe340f6bbd487d2730242)
Branch: v4.2
https://github.com/mongodb/mongo/commit/dc01e148734edfb26f97af30346eb8a43cd31d97

Comment by Githook User [ 25/Nov/21 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-56227 Fix jstest verification after using setAllowMigrations command
Branch: v4.4
https://github.com/mongodb/mongo/commit/95526e8d8efb0a453aec2c15c831fa98de5e4366

Comment by Githook User [ 25/Nov/21 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-56227 Add user-facing command for permitMigrations using DDL coordinator
Branch: v4.4
https://github.com/mongodb/mongo/commit/ddb38e8c0da429630eebe340f6bbd487d2730242

Comment by Githook User [ 24/Nov/21 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-56227 Add user-facing command for permitMigrations using DDL coordinator

(cherry picked from commit 2b204e8aaed867988cf7f54bee2ce84e31f4c955)
(cherry picked from commit d04cc1b5ab4b8cf36d4b7db224295e5e8af9bdab)
Branch: v5.1
https://github.com/mongodb/mongo/commit/d109fb2cfa8e01f58c78c26fc92a8fd3bc8c4cf6

Comment by Githook User [ 23/Nov/21 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-56227 Add user-facing command for permitMigrations using DDL coordinator

(cherry picked from commit 2b204e8aaed867988cf7f54bee2ce84e31f4c955)
Branch: v5.0
https://github.com/mongodb/mongo/commit/f191bb1beddd7ed4dc8e5550f8bb0eebfdc053ab

Comment by Githook User [ 22/Nov/21 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-56227 Change jstest function name that sends the setAllowMigrations command
Branch: master
https://github.com/mongodb/mongo/commit/d04cc1b5ab4b8cf36d4b7db224295e5e8af9bdab

Comment by Githook User [ 22/Nov/21 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-56227 Add user-facing command for permitMigrations using DDL coordinator
Branch: master
https://github.com/mongodb/mongo/commit/2b204e8aaed867988cf7f54bee2ce84e31f4c955

Generated at Thu Feb 08 05:38:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.