-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
Reorganize the FCV upgrade/downgrade configsvr metadata patch-up around the 2-phase setFCV.
On upgrade:
- Configsvr finishes invoking setFCV(phase-1) to all shards.
- Configsvr performs a first metadata patch-up pass to:
- $set 'timestamp' and 'collectionUUID' to all config.chunks documents
- create the uuid_* indexes on config.chunks
- $set timestamp for all config.collections documents
- Drop ns_* indexes on config.chunks
- Configsvr invokes setFCV(phase-2) to all shards
- Configsvr performs a second metadata patch-up pass to:
-
- $unset 'ns' from all documents in config.chunks
- depends on
-
SERVER-55636 Add the parameter to the setFCV command to make it support 2-Phases
- Closed