[SERVER-72218] Implement garbage collection procedure for merge abort. Created: 16/Dec/22  Updated: 29/Oct/23  Resolved: 21/Mar/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Suganthi Mani Assignee: Didier Nadeau
Resolution: Fixed Votes: 0
Labels: shard-merge-milestone-3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-59492 Post-Merge cleanup Closed
Related
related to SERVER-73900 Ensure no collection gets imported af... Closed
Assigned Teams:
Serverless
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2023-02-06, Server Serverless 2023-02-20, Server Serverless 2023-03-06, Server Serverless 2023-03-20, Server Serverless 2023-04-03
Participants:

 Description   
  • R state machinery should drop the donated file collection
  • R On observing “aborted” state via op observer, it should do the below thing synchronously:

     i) For each tenantID in that state document, R calls listDatabases with the prefix filter as “tenantID_” and drops all the matching databases with dropTimestamp as ‘AbortOpTime’ .



 Comments   
Comment by Githook User [ 21/Mar/23 ]

Author:

{'name': 'Didier Nadeau', 'email': 'didier.nadeau@mongodb.com', 'username': 'nadeaudi'}

Message: SERVER-72218 Garbage collect tenant data when shard merge aborts
Branch: master
https://github.com/mongodb/mongo/commit/29a46a5b729493121e2c22313f293d32d67c4537

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