[SERVER-69914] Track document IDs for time series deletions without recording preimages Created: 22/Sep/22  Updated: 29/Oct/23  Resolved: 19/Oct/22

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

Type: Improvement Priority: Major - P3
Reporter: Dan Larkin-York Assignee: Dan Larkin-York
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2022-10-31
Participants:

 Description   

Prior to SERVER-66690, it was sufficient to clear a deleted bucket from the BucketCatalog via the OpObserver's aboutToDelete method. With reopening, it became necessary to clear it from onDelete, which does not have access to the bucket's ID unless we record preimages in the oplog. Since this can have a performance impact, we want to avoid this, and since we don't need the full preimage, just the ID, we can probably stash the IDs on the OperationContext.



 Comments   
Comment by Githook User [ 18/Oct/22 ]

Author:

{'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}

Message: SERVER-69914 Track document IDs for time series deletions without recording preimages
Branch: master
https://github.com/mongodb/mongo/commit/a505d3e21e350ab461e61db4378622789a7ba32e

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