[SERVER-58553] Simple8b delta for ObjectId type Created: 14/Jul/21  Updated: 29/Oct/23  Resolved: 05/Aug/21

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

Type: Task Priority: Major - P3
Reporter: Henrik Edin Assignee: Jackson Xie (Inactive)
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 2021-08-09
Participants:

 Description   

We want to re-organize the bytes to put most of the entropy in the least significant bytes.

ObjectId
Byte usage TS3 C2 TS2 C1 TS1 C0 TS0
Byte index 0 1 2 3 4 5 6

TS = Timestamp in big endian 
PU = Process unique identifier
C = Counter in big endian

The bytes should be converted to little endian bit level order.

If process unique identifier is equal, interpret as uint64_t and calculate delta. 



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 05/Aug/21 ]

Author:

{'name': 'Jackson Xie', 'email': 'jackson.xie@mongodb.com', 'username': 'jacksonx9'}

Message: SERVER-58553: Simple8b Delta for ObjectId Type
Branch: master
https://github.com/mongodb/mongo/commit/c6750221fddc0d23be1840dfd0f8a3c232a53dd7

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