[DOCS-15192] Investigate changes in SERVER-63593: Support compressing arrays in BSONColumn Created: 28/Mar/22  Updated: 13/Nov/23  Resolved: 10/Jun/22

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 6.0.0-rc0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Jason Price
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-63593 Support compressing arrays in BSONColumn Closed
Participants:
Days since reply: 1 year, 34 weeks, 5 days ago
Epic Link: DOCSP-19446
Story Points: 3

 Description   
Original Downstream Change Summary

This introduces a data format change to be able to compress arrays with the time-series column compression. Users downgrading to v5.0 will have a new floor on the v5.0 branch where the decompression support is included (tracked in SERVER-64732).

Apart from the above, array compression works like object compression where scalar sub-fields are compressed.

Description of Linked Ticket

Add support for Arrays for the sub-object compression mode in BSONColumn.

Arrays can mostly be treated as Objects but care need to be taken so we don't merge in when the types are different.

Because there is existing data using this feature, we cannot use the existing control byte for sub-object mode start. An existing reference object with a sub-array need to not look for interleaved data for the array content.

Arrays can also exist at the root level and we need a separate control byte for interleave start as an array.

So:
Existing 0xF0 control byte need to decode as it currently does
Add new 0xF1 control byte for array support under objects
Add new 0xF2 control byte for array support when the root is an array



 Comments   
Comment by Githook User [ 10/Jun/22 ]

Author:

{'name': 'jason-price-mongodb', 'email': '69260375+jason-price-mongodb@users.noreply.github.com', 'username': 'jason-price-mongodb'}

Message: DOCS-15192 array compression (#1191)

Co-authored-by: jason-price-mongodb <jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com>
Branch: master
https://github.com/10gen/docs-mongodb-internal/commit/d67bc7c2f30fecc30005ef7d2b035fb09b779224

Comment by Jess Mokrzecki [ 28/Mar/22 ]

Fix Version updated for upstream SERVER-63593:
6.0.0-rc0

Generated at Thu Feb 08 08:12:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.