The createIndexes command aborts the index build when it is interrupted while waiting on the Future object returned by IndexBuildsCoordinator::startIndexBuild. However, if the command is interrupted while it is still setting up the index build (here for example) the createIndexes command may fail early without aborting the index build.
- is related to
-
SERVER-46397 concurrent dropIndexes on a primary can stall replication on secondaries
- Closed
-
SERVER-44791 Abort index builds by interrupting the OperationContext of the builder thread
- Closed
-
SERVER-46012 Aborting index builders through the IndexBuildsCoordinator does not always abort the index builders
- Closed