[SERVER-43869] aborted index build cleanup on mobile storage engine hits invariant Created: 07/Oct/19  Updated: 29/Oct/23  Resolved: 10/Oct/19

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

Type: Bug Priority: Minor - P4
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-43692 enable two phase index builds by default Closed
Related
is related to SERVER-43415 indexbg_killop_primary.js crashes whe... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2019-10-21
Participants:
Linked BF Score: 0

 Description   

Index creation on the mobile storage engine is handled by the runCreateIndexesForMobile function in create_indexes.cpp. When the index build is interrupted and has to be cleaned up, we may not have the necessary locks in place, leading to this invariant introduced in SERVER-43415.



 Comments   
Comment by Githook User [ 09/Oct/19 ]

Author:

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

Message: SERVER-43869 runCreateIndexesForMobile() acquires collection locks necessary to clean up aborted index builds
Branch: master
https://github.com/mongodb/mongo/commit/d1394b01eccd22e0b2f29fc3d818fe783be038b7

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