[SERVER-55569] Fix behavior of BucketCatalog::clear with concurrent writes Created: 26/Mar/21  Updated: 29/Oct/23  Resolved: 02/Apr/21

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

Type: Task 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

Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2021-04-05, Execution Team 2021-04-19
Participants:

 Description   

Currently BucketCatalog::clear does not properly handle the case where a removed bucket has an outstanding WriteBatch. There may be other concurrency issues or race conditions hidden here as well.



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

Author:

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

Message: SERVER-55569 Test BucketCatalog::clear(ns) with concurrent writes
Branch: master
https://github.com/mongodb/mongo/commit/9b794e4bd7e80747f54e63b444ad4019f7d53cf3

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