See SERVER-76777 for detailed description. Concurrent external aborts can race with internal aborts, and end up in a deadlock. To reduce backport risk, in SERVER-76777 we introduced a workaround which involves adding a timeout to lock acquisition and rechecking if the build is already aborted.
The proper fix should be to disallow an external abort when the index build already detected an error and is cleaning up. PR for this: https://github.com/10gen/mongo/pull/12617
This ticket should revert SERVER-76777 and implement the above PR.
- has to be done after
-
SERVER-76777 Deadlock between index build external abort and self abort
- Closed