[SERVER-74439] Handle direct writes and pending compression upon bucket closure Created: 28/Feb/23  Updated: 29/Oct/23  Resolved: 03/Mar/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0, 6.3.0-rc1

Type: Bug Priority: Major - P3
Reporter: Fausto Leyva (Inactive) Assignee: Dan Larkin-York
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-74524 Add unit test to ensure bucket closur... Backlog
Related
related to SERVER-73533 Refactor the BucketState class to rem... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v6.3
Sprint: Execution Team 2023-03-06
Participants:
Linked BF Score: 140

 Description   

We hit this invariant: https://github.com/10gen/mongo/blob/master/src/mongo/db/timeseries/bucket_catalog/bucket_state.cpp#L53 in BF-27879.  We should handle the case instead of invarianting. 



 Comments   
Comment by Githook User [ 06/Mar/23 ]

Author:

{'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}

Message: SERVER-74439 Ensure bucket closure respects current state

(cherry picked from commit 15a363b98be42d7dcc5db063185d143e0fa72b3c)
Branch: v6.3
https://github.com/mongodb/mongo/commit/f9e2d802284e02614469b3add0ef16086ebb0c0d

Comment by Githook User [ 03/Mar/23 ]

Author:

{'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}

Message: SERVER-74439 Ensure bucket closure respects current state
Branch: master
https://github.com/mongodb/mongo/commit/15a363b98be42d7dcc5db063185d143e0fa72b3c

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