-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Execution Team 2022-03-21
If a unique index was built before 4.2 and then upgraded to a later major version, it can have mixed format keys. We have no way of ensuring that these indexes only contain new format keys so we should fail the collMod conversion if we detect this scenario.
We can probably check for the internal data format introduced in SERVER-63578 and fail collMod if not.
- is related to
-
SERVER-61158 Convert a non-unique index to a unique index via the collMod command
- Closed
-
SERVER-63578 Convert a unique index to a non-unique index via the collMod command
- Closed
-
SERVER-34263 Make new format unique index creation dependent on WT specific data format version
- Closed
-
SERVER-63577 Ensure that new unique indexes don't have old format keys
- Closed
- related to
-
SERVER-86152 Skip parsing KeyString on return when data format version is 13 or 14
- Closed