[SERVER-84178] BSONColumnBuilder::intermediate does not restore last control byte Created: 14/Dec/23  Updated: 31/Jan/24  Resolved: 31/Jan/24

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

Type: Bug 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-79411 Maintain the compression state in the... In Code Review
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2024-01-22, Execution Team 2024-02-05
Participants:

 Description   

Part of the finalization process in BSONColumnBuilder is to write the correct count of number of Simple8b blocks in the last control byte. This value is currently not restored when more data is appended, resulting in a corrupt BSONColumn binary.



 Comments   
Comment by Githook User [ 31/Jan/24 ]

Author:

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

Message: SERVER-84178 Fix various issues with BSONColumnBuilder::intermediate (#18140)

GitOrigin-RevId: 4827e8ed98335b2dd8da88c4280e753fc103fe27
Branch: master
https://github.com/mongodb/mongo/commit/0fe7b2c5f1d3ed4415a3c86ba1cd53efae38b7da

Generated at Thu Feb 08 06:54:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.