[SERVER-58681] Split up Simple8b in separate classes for encoder and decoder Created: 19/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: Henrik Edin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-58577 Implement BSONColumn Closed
is depended on by SERVER-58635 Remove BufBuilder from Simple8b builder Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2021-07-26, Execution Team 2021-08-09
Participants:

 Description   

The decoder should have an iterator-based interface for extracting values without needing to allocate memory. Values stored in Simple8b need further transformation before BSONColumn can instantiate {{BSONElement}}s.

The decoder also need to be able to be attached to a new binary range and continue decoding from previous state. (The first Simple8b block in the new binary range may be RLE referring to previous value)



 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': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}

Message: SERVER-58681 Split Simple8b into separate classes for encoder and decoder.

Decoder now uses an iterator based interface.
Refactored all unittests
Branch: master
https://github.com/mongodb/mongo/commit/3a9e9e75be236c7f237346918b5199058bfb40b8

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