[SERVER-56226] [v4.4] Introduce 'permitMigrations' field on config.collections entry to prevent chunk migrations from committing Created: 21/Apr/21 Updated: 29/Oct/23 Resolved: 25/Oct/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.11, 4.2.18 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Max Hirschhorn | Assignee: | Marcos José Grillo Ramirez |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Backport Requested: |
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 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Case: | (copied to CRM) | ||||||||||||||||
| Description |
|
This ticket represents reimplementing |
| Comments |
| Comment by Githook User [ 27/Oct/21 ] |
|
Author: {'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}Message: |
| Comment by Githook User [ 26/Oct/21 ] |
|
Author: {'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}Message: (cherry picked from commit 53bf3779928dccbb0abf1e302cf80096b8a63f4a) |
| Comment by Githook User [ 25/Oct/21 ] |
|
Author: {'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}Message: |
| Comment by Marcos José Grillo Ramirez [ 08/Oct/21 ] |
|
After a conversation with the team, in order to ensure a seamless upgrade between 4.4 and 5.0, and considering the surface area of the allowMigration flag changes (it's not just the original ticket, but the subsequent fixes to some scenarios that were not considered originally), we'll change the approach of this ticket. We'll be adding a new flag that will not be propagated on the catalog cache throughout the cluster, but will remain local to the config server, preventing new migrations to start, and preventing ongoing migrations to commit, and for 6.0 we'll merge the flag with allowMigrations, which additionally prevents migrations from starting on shards. |
| Comment by Marcos José Grillo Ramirez [ 31/Aug/21 ] |
|
I've evaluated the changes necessary to complete this ticket, I'll start implementing it once I've finished other tasks on my backlog. |