-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Index Maintenance
-
None
-
Fully Compatible
-
ALL
-
Execution Team 2020-07-27
-
6
When a mongod restarts and attempts to rebuild its unfinished indexes, it does so before the FCV version has been initialized. When the in-progress index specs are validated, therefore, the index comparison defaults to the FCV 4.4 behaviour and does not distinguish the indexes based on their differing partialFilterExpressions. This will cause an fassert if any conflicting indexes exist.
Similar issues have occurred before; see e.g. SERVER-45374. After speaking with louis.williams and daniel.gottlieb, the consensus is that the proper solution would be to ensure that the FCV is always initialized before attempting any index validation.
- has to be done before
-
SERVER-49301 remove startingAfterUncleanShutdown decorator
- Closed
- is related to
-
SERVER-49775 Fix uninitialized FCV check when starting up with resumable index builds enabled
- Closed
-
SERVER-50139 Skip level upgrade with --repair leaves repair in incomplete state
- Closed
- related to
-
SERVER-48044 FCV::isVersion should invariant if FCV is unset
- Closed