-
Type: Task
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Storage
-
None
-
Storage NYC 2019-02-11, Storage NYC 2019-02-25
-
3
"The Coordinator registers each index spec by name that comes in, before the indexes are set up in the index catalog as in-progress. Then subsequent requests with the same index names hit an error in the Coordinator. Without the Coordinator, spec requests are normally automatically filtered out if they're already found to be built or building via the index catalog.
The concurrency test has 10 threads, potentially all running the same createIndexes requests at the same time, so "There's already an index with name..." errors make sense – previously they'd get filtered out and the redundant commands return OK.
Perhaps a new error code IndexBuildAlreadyInProgressForName to fix tests, and we can consider the final behavior changes later, and easily identify the changes by error code if we want to undo them. This is related to our problem regarding spec checking being scattered all over the place at different levels of the code."
- depends on
-
SERVER-39369 Filter index builds requests in the coordinator, register the builds on the Coordinator and set them up in the persisted catalog before changing threads
- Closed
- is depended on by
-
SERVER-39454 Move createIndexes command fully onto the IndexBuildsCoordinator
- Closed
- related to
-
SERVER-41554 Remove applyOps support for createIndexes
- Closed
-
SERVER-50395 Investigate whether can try to resume an index build twice during startup recovery
- Closed