[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:
Backports
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: SERVER-76216 Drop temporary movePrimaryRecipient colls matching prefix

(cherry picked from commit 99433d9de31ba908ad8199aab74dfb2b21d5964c)
Branch: v7.0
https://github.com/mongodb/mongo/commit/82a33db880e665559cd57dba64904e49263989af

Comment by Githook User [ 19/Apr/23 ]

Author:

{'name': 'Abdul Qadeer', 'email': 'abdul.qadeer@mongodb.com', 'username': 'zorro786'}

Message: SERVER-76216 Drop temporary movePrimaryRecipient colls matching prefix
Branch: master
https://github.com/mongodb/mongo/commit/99433d9de31ba908ad8199aab74dfb2b21d5964c

Generated at Thu Feb 08 06:32:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.