[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: |