[SERVER-61171] Can remove a full bucket from the bucket catalog which is still in use Created: 01/Nov/21  Updated: 09/Nov/21  Resolved: 09/Nov/21

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

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

Issue Links:
Backports
Depends
Duplicate
duplicates SERVER-61309 Fix time-series bucket lock reacquisi... Closed
Operating System: ALL
Backport Requested:
v5.1, v5.0
Sprint: Execution Team 2021-11-15
Participants:
Linked BF Score: 61

 Description   

When removing a full bucket from the time-series bucket catalog, we release the bucket lock and acquire the exclusive catalog lock. However, another thread can acquire the bucket lock between these two lines, which means that the bucket can still be in use by another thread when we attempt to destruct it.


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