[SERVER-85712] Move creating a bsonColumn inside decompressIterative() Created: 25/Jan/24  Updated: 31/Jan/24  Resolved: 30/Jan/24

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

Type: Task Priority: Major - P3
Reporter: Gil Alon Assignee: Backlog - Storage Execution Team
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Storage Execution
Participants:

 Description   

Once SERVER-85254 is in the allocator should own all memory even uncompressed BSONElements. This means the binary doesn't need to be in scope anymore. To have full coverage to test that the allocator has proper ownership of the BSONElements, we should create bsonColumn inside decompressIterative() and then once we exist the decompressor the binary will be destroyed. If the allocator owns the materialized elements this should be ok.



 Comments   
Comment by Gil Alon [ 30/Jan/24 ]

This ticket was created while we were in the middle of designing SERVER-85175. The final design  in SERVER-85175 already makes this change.

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