[SERVER-57643] Simple-8b: Create Basic Decoder and Encoder Functions Created: 11/Jun/21  Updated: 29/Oct/23  Resolved: 23/Jun/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: Jackson Xie (Inactive) Assignee: Jackson Xie (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-57318 Simple-8b encoder/decoder Closed
Duplicate
duplicates SERVER-57645 Simple-8b: Calculate the Selector fro... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2021-06-28
Participants:

 Description   

Implement a basic static Simple-8b encoder and decoder functions using basic masking/shift operations and test the functionality in a new unittest.

 

The function signatures will look something like this:

uint64_t encodeSimple8b(uint8_t selector, std::vector<uint64_t> values);
std::vector<uint64_t> decodeSimple8b(uint64_t simple8bBlock);



 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 [ 22/Jun/21 ]

Author:

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

Message: SERVER-57643: Simple8b renaming and small changes
Branch: master
https://github.com/mongodb/mongo/commit/2ac9fd6e613332f02636c6a7ec7f6cff4a8d05ab

Comment by Githook User [ 22/Jun/21 ]

Author:

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

Message: SERVER-57643: Simple8b renaming and spec changes
Branch: master
https://github.com/mongodb/mongo/commit/6d369b6416e0bed07ffe8098b2351e3d6bfaedd9

Comment by Githook User [ 22/Jun/21 ]

Author:

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

Message: SERVER-57643: Simple8b use little endian encoding + small format changes
Branch: master
https://github.com/mongodb/mongo/commit/0f191f938b5ad943212123a147646e957913ca04

Comment by Githook User [ 22/Jun/21 ]

Author:

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

Message: SERVER-57643: Create Basic Decoder and Encoder Functions
Branch: master
https://github.com/mongodb/mongo/commit/d7158b8a3c46da624025bac6c6edd8e4eb969733

Comment by Githook User [ 16/Jun/21 ]

Author:

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

Message: SERVER-57643: Create Basic Decoder and Encoder Functions
Branch: SERVER-57643
https://github.com/mongodb/mongo/commit/706f319fd9ee1d42653a6a18807ce9eaeeef38c1

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