[SERVER-76216] Drop any collection matching migrationId for online movePrimary for cleanup Created: 17/Apr/23 Updated: 29/Oct/23 Resolved: 20/Apr/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 7.0.0-rc0 |
| Fix Version/s: | 7.0.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Abdul Qadeer | Assignee: | Abdul Qadeer |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Backport Requested: |
v7.0
|
||||
| Sprint: | Sharding NYC 2023-05-01 | ||||
| Participants: | |||||
| Story Points: | 2 | ||||
| Description |
|
Currently the MovePrimaryRecipient only drops a couple collections on clean up including op log buffer and op log applier progress. We would like to drop all collections matching movePrimaryRecipient.<MigrationId>.willBeDeleted.<CollectionName> to safeguard from potential collections being added in the future and to maintain correct behavior around upgrade/downgrades. |
| Comments |
| Comment by Githook User [ 20/Apr/23 ] |
|
Author: {'name': 'Abdul Qadeer', 'email': 'abdul.qadeer@mongodb.com', 'username': 'zorro786'}Message: (cherry picked from commit 99433d9de31ba908ad8199aab74dfb2b21d5964c) |
| Comment by Githook User [ 19/Apr/23 ] |
|
Author: {'name': 'Abdul Qadeer', 'email': 'abdul.qadeer@mongodb.com', 'username': 'zorro786'}Message: |