-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Storage
-
None
-
ALL
-
Storage NYC 2019-05-06, Execution Team 2019-08-12
MultiIndexBlock::init has a for-loop for initializing indexes in-memory and on disk. In the for-loop we call IndexCatalog::prepareSpecForCreate to check for errors: bad spec, already exists.
The first loop is fine, and sets up the index. The second loop will get an IndexAlreadyExists error from IndexCatalog::prepareSpecForCreate. This error will not get swallowed – we do swallow IndexAlreadyExists errors encountered earlier in the command. The user will get an IndexAlreadyExists error and no index will have been created.
- is related to
-
SERVER-40926 createIndexes should return IndexBuildAlreadyInProgress errors
- Closed
-
SERVER-40927 createIndexes should wait for indexes found to already be being built to finish
- Closed
-
SERVER-42272 IndexBuildsCoordinator crashes on index build with duplicate index names
- Closed