-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Index Maintenance, Storage
-
None
-
Repl 2018-02-26
KVStorageEngine::reconcileCatalogAndIdents() needs to include unready (that is, unfinished) indexes in its return set, so that the recovery process will rebuild them when in ROLLBACK. Otherwise, applying an operation that affects that index will cause us to crash because we don't have a proper WiredTiger table corresponding to it.
We will have to preserve the behavior of the --noIndexBuildRetry flag, which skips rebuilding unfinished indexes at start-up. One idea is to forbid specifying both --replset and --noIndexBuildRetry at the same time.
- duplicates
-
SERVER-33359 Have RTT storage engines manage rolling back incomplete index builds.
- Closed
- related to
-
SERVER-33093 catalog::openCatalog must rebuild all indexes for a collection in one pass
- Closed