[SERVER-80721] PreImagesTruncateManager::_registerAndInitialiseMarkersForTenant uses a stale snapshot Created: 05/Sep/23  Updated: 29/Oct/23  Resolved: 21/Sep/23

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

Type: Bug Priority: Major - P3
Reporter: Haley Connelly Assignee: Haley Connelly
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution EMEA Team 2023-10-02
Participants:
Linked BF Score: 14

 Description   

The method expects the highest recordId for each UUID captured by the truncate markers to exist in the highestRecordIdAndWallTimeSamples . However, it doesn't refresh the snapshot, and can accidentally miss obtaining the highest record id for UUIDs (not captured in the initial snapshot) that had pre-images inserted concurrently during initialization.



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

Author:

{'name': 'Haley Connelly', 'email': 'haley.connelly@mongodb.com', 'username': 'haleyConnelly'}

Message: SERVER-80721 Refresh snapshot to finalize PreImageTruncateMarkers
Branch: master
https://github.com/mongodb/mongo/commit/da68182ffe3f07b416981114805dc6059018059c

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