[SERVER-56242] BucketCatalog may be left in bad state if prepared batch is never finished or aborted Created: 21/Apr/21  Updated: 29/Oct/23  Resolved: 26/Apr/21

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

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

Issue Links:
Depends
Related
is related to SERVER-56317 Ensure prepared batches cannot be orp... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2021-05-03
Participants:
Linked BF Score: 146

 Description   

There may be certain conditions (e.g. exceptions) which result in a batch being prepared, but then never finished or aborted. This can leave the BucketCatalog in a bad state.



 Comments   
Comment by Githook User [ 23/Apr/21 ]

Author:

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

Message: SERVER-56242 Clean up BucketCatalog state in case of exception
Branch: master
https://github.com/mongodb/mongo/commit/1be3fe09bef0be96ec5b162b89edf0ef1e26270a

Generated at Thu Feb 08 05:38:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.