[SERVER-80653] Retry when time-series bucket compression fails Created: 31/Aug/23  Updated: 03/Feb/24  Resolved: 02/Feb/24

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

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

Issue Links:
Problem/Incident
Related
related to SERVER-84234 BSONColumnBuilder throwing should be ... Open
is related to SERVER-86073 Add a way to track whether the number... Open
is related to SERVER-86087 Evaluate whether frozen time-series b... Backlog
is related to SERVER-86072 Retry when time-series bucket compres... In Progress
is related to SERVER-86085 Improve naming/semantics around froze... Backlog
Assigned Teams:
Storage Execution
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2024-01-22, Execution Team 2024-02-05
Participants:
Linked BF Score: 166

 Description   

Right now we're maintaining the current behaviour where if bucket compression fails, we leave the bucket uncompressed. When bucket compression fails, chances are the bucket is corrupt in some way, and further writes to it could result in data loss. Instead, we should fail the insert, close the bucket, and retry the insert without re-opening buckets. We cannot re-open buckets as we can end up in a scenario where we keep retrying the insert in the same bucket. We'll also need to limit the number of retries.



 Comments   
Comment by Githook User [ 02/Feb/24 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-80653 Retry when time-series bucket compression fails (#18348)

GitOrigin-RevId: da8e8835bd37adae03cf257fa3cdbe6e562fb508
Branch: master
https://github.com/mongodb/mongo/commit/dddef42c12afe5662e20ad86bcade627da911f64

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