[SERVER-59947] Investigate use of std::variant for RecordId Created: 14/Sep/21  Updated: 05/Dec/22  Resolved: 05/Dec/22

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

Type: Task Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Backlog - Storage Execution Team
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Storage Execution
Sprint: Execution Team 2021-10-04, Execution Team 2021-10-18, Execution Team 2021-11-01
Participants:

 Description   

The current implementation of RecordId is essentially a hand-rolled variant but which does not overlap the fields. It is possible that using std::variant would result in a more compact object layout and/or allow for a simpler and safer implementation. In particular, issues like SERVER-59946 might be avoided.


Generated at Thu Feb 08 05:48:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.