[SERVER-61158] Convert a non-unique index to a unique index via the collMod command Created: 01/Nov/21 Updated: 29/Oct/23 Resolved: 04/Nov/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.2.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Pavithra Vetriselvan | Assignee: | Benety Goh |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||||||||||||||||||
| Backport Requested: |
v4.2
|
||||||||||||||||||||||||||||||||||||||||||||||||
| Sprint: | Execution Team 2021-11-15 | ||||||||||||||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
This should include making the necessary catalog changes, but does not encompass checking for duplicates. We should avoid bumping the data format version so that there aren't any upgrade/downgrade implications. |
| Comments |
| Comment by Githook User [ 28/Mar/22 ] |
|
Author: {'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}Message: Revert " This reverts commit a94046f398f652564813c90cae8c9e419b1f0f6b. |
| Comment by Githook User [ 28/Mar/22 ] |
|
Author: {'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}Message: Revert " This reverts commit 0e09eec7acc2dae2fab4d131b6b5c6ef1efd44e9. |
| Comment by Githook User [ 28/Mar/22 ] |
|
Author: {'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}Message: Revert " This reverts commit fe15f13c05c4bfa65f09f6b60931770277785117. |
| Comment by Githook User [ 11/Mar/22 ] |
|
Author: {'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}Message: |
| Comment by Githook User [ 11/Mar/22 ] |
|
Author: {'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}Message: |
| Comment by Githook User [ 11/Mar/22 ] |
|
Author: {'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}Message: |
| Comment by Pavithra Vetriselvan [ 27/Jan/22 ] |
|
garaudy.etienne There isn't, but we're still in the process of making changes to this command's API so I think it would be easier for us to create a DOCS ticket at the end once it's finalized. |
| Comment by Garaudy Etienne [ 18/Jan/22 ] |
|
Is there a docs ticket associated with this change? |
| Comment by Githook User [ 04/Nov/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |
| Comment by Githook User [ 04/Nov/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: This adds Collection::updateUniqueSetting() and |
| Comment by Githook User [ 04/Nov/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: This also restores KVEngine::alterIdentMetadata() which was removed |
| Comment by Githook User [ 04/Nov/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |
| Comment by Githook User [ 03/Nov/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: This also adds unique_new to the collMod response when the command completes |