[SERVER-77433] Re-compress buckets that were decompressed for updates/deletes Created: 24/May/23  Updated: 29/Oct/23  Resolved: 14/Aug/23

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

Type: Task Priority: Major - P3
Reporter: Gregory Wlodarek Assignee: Gregory Wlodarek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Assigned Teams:
Storage Execution
Backwards Compatibility: Fully Compatible
Sprint: Execution NAMR Team 2023-07-24, Execution NAMR Team 2023-08-07, Execution NAMR Team 2023-08-21
Participants:
Linked BF Score: 5

 Description   

The project that adds support for updates/deletes for time-series collections supports modifications to already compressed buckets but leaves modified buckets in the uncompressed state.

For deletes:

  1. Partial bucket deletion results in an update to the bucket document (preserving the _id value)
  2. Full bucket deletion results in a deletion of the bucket document

For updates, same as deletes for the original bucket document, and the updated measurements will be inserts of new bucket document(s)

We need to re-compress the original bucket document for the partial changes made to it.



 Comments   
Comment by Githook User [ 14/Aug/23 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-77433 Re-compress buckets that were decompressed for updates/deletes

Co-authored-by: Erin Liang <ell2147@columbia.edu>
Branch: master
https://github.com/mongodb/mongo/commit/32366b9b98ecee1ff25e63a8b73923f811703410

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