[SERVER-66705] Shard split donor should abort index builds outside of the critical section Created: 23/May/22  Updated: 29/Oct/23  Resolved: 15/Jun/22

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

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

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Server Serverless 2022-05-30, Server Serverless 2022-06-13, Server Serverless 2022-06-27
Participants:

 Description   

The call to abort index builds currently happens within the critical section. It should be moved outside, before the call to _enterBlockingOrAbortedState, and it should be safe to do this without adding an additional state.



 Comments   
Comment by Githook User [ 15/Jun/22 ]

Author:

{'name': 'Didier Nadeau', 'email': 'didier.nadeau@mongodb.com', 'username': 'nadeaudi'}

Message: SERVER-66705 Move aborting index builds out of critical section
Branch: master
https://github.com/mongodb/mongo/commit/bfd0810609bf8213c92d004313b87a68b3b66981

Generated at Thu Feb 08 06:06:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.