[SERVER-58554] Simple8b delta for short strings Created: 14/Jul/21  Updated: 29/Oct/23  Resolved: 02/Sep/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: Henrik Edin
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-23, Execution Team 2021-09-06
Participants:

 Description   

If the string is of length 16 or below (not counting null terminator) the encoder will try to make the transformation into an integer that can be delta-stored in Simple-8b.

The unsigned integer will be computed using reverse order of the string with the null terminator omitted. This means that the last character in the string will be represented as the least significant byte in the integer using little-endian byte order. No size is stored, which works as long as there are no leading NULL characters in the input string. 

 



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

Author:

{'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}

Message: SERVER-58554 Add support for Strings in BSONColumn and BSONColumnBuilder
Branch: master
https://github.com/mongodb/mongo/commit/522cfb2d9b29a537cf9a4eca44113faff60c13ea

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