[SERVER-54248] WiredTigerRecordStore to use a byte array key format Created: 03/Feb/21  Updated: 29/Oct/23  Resolved: 19/Feb/21

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

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

Issue Links:
Related
related to SERVER-53986 Use ObjectId's as table keys for time... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2021-02-22
Participants:

 Description   

We should investigate implementing a general concept of a key format that is independent of the storage engine.

With the clustered indexes project, a new key format is used in WiredTiger's table creation, key_format=12s. Existing tables use key_format=q.

An approach for generalizing the key format could be to use a raw byte array, key_format=u. See https://source.wiredtiger.com/develop/group__wt.html#struct_w_t___i_t_e_m

 



 Comments   
Comment by Githook User [ 19/Feb/21 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-54248 WiredTigerRecordStore to use a byte array key format
Branch: master
https://github.com/mongodb/mongo/commit/f8aa48218e18f8e13eafe291709943532dd9e539

Comment by Githook User [ 19/Feb/21 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-54248 Fix RecordId usage in the NoOverlapReadSource unit test
Branch: master
https://github.com/mongodb/mongo/commit/f8993f98d989eed4b5a528131b3d826e951b15a1

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