[SERVER-74981] Investigate improving PreImagesTruncateMarkers extraction of Timestamp from RecordId Created: 17/Mar/23  Updated: 12/Jun/23  Resolved: 30/May/23

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

Type: Improvement Priority: Major - P3
Reporter: Haley Connelly Assignee: Haley Connelly
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-77612 Complete TODO listed in SERVER-74981 Closed
Assigned Teams:
Storage Execution
Sprint: Execution Team 2023-06-12
Participants:

 Description   

Since the RecordId for a clustered collection is stored as an underlying KeyString, converting the RecordId to a PreImageId requires parsing the RecordId as a new BSON, and then the new BSON to a ChangeStreamPreImageId. 

We should investigate if there is a more optimal way to perform the conversion / access the Timestamp of the 'lastRecord' in a PreImagesTruncateMarkers::Marker.



 Comments   
Comment by Haley Connelly [ 30/May/23 ]

After getting back the initial performance results, we don't believe this is necessary at this time.

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