[SERVER-42383] IndexBuildsCoordinator may deadlock while cleaning up multiple index builds on the same collection Created: 24/Jul/19  Updated: 29/Oct/23  Resolved: 25/Jul/19

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

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

Issue Links:
Depends
is depended on by SERVER-39454 Move createIndexes command fully onto... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2019-07-29
Participants:
Linked BF Score: 0

 Description   

When the IndexBuildsCoordinator is enabled on a primary that subsequently steps down while multiple index builds are running concurrently on the same collection, it may be possible for these index builds to deadlock during the clean up phase initiated in IndexBuildsManager::tearDownIndexBuild().



 Comments   
Comment by Githook User [ 25/Jul/19 ]

Author:

{'name': 'Benety Goh', 'username': 'benety', 'email': 'benety@mongodb.com'}

Message: SERVER-42383 fix deadlock in IndexBuildsCoordinator during cleanup
Branch: master
https://github.com/mongodb/mongo/commit/c803a014930218b5a9ee81fee32598b3b6893c63

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