-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Execution Team 2022-03-07
Support the option "unique: false", which indicates that the user would like to convert a unique index to a non-unique one. This will involve changing the index spec in the durable catalog.
We should only allow this conversion if the unique index is in the correct internal data format (SERVER-63577), which ensures that all keys are in the new format.
We would basically like to provide functionality opposite to what SERVER-61158 introduced.
- related to
-
SERVER-90873 Fatal Assertion: "UnsupportedFormat: Index" after running collMod forceNonUnique with stepdowns
- Closed
-
SERVER-63582 Fail gracefully if a user tries converting a unique index with old format keys to a non-unique index.
- Closed