[SERVER-58786] Support 16 byte types in Simple8b Created: 22/Jul/21  Updated: 29/Oct/23  Resolved: 02/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: Luke Bhan (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   

Add support for storing 16 byte types in Simple8b. For this to work we need to have enough leading and/or trailing zeros to be able to fit the value in our Simple8b buckets.

We want to generalize the Simple8b class by making it a template with the two supported combinations being uint64_t and uint128_t.

Integrate uint128_t from boost multiprecision (cpp_int backend). We also need to make functions that can calculate leading and trailing zeros on this type.

 



 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 [ 02/Aug/21 ]

Author:

{'name': 'lukebhan', 'email': 'luke.bhan@vanderbilt.edu', 'username': 'lukebhan'}

Message: SERVER-58786 Add uint128_t to simple8b
Branch: master
https://github.com/mongodb/mongo/commit/79b02be5506f0d5e00b5d15e93f16bb376ab0afe

Comment by Luke Bhan (Inactive) [ 28/Jul/21 ]

https://mongodbcr.appspot.com/802830018/

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