[SERVER-61159] Check for duplicates before converting a non-unique index to unique Created: 01/Nov/21  Updated: 29/Oct/23  Resolved: 09/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:
Backports
Related
related to SERVER-61356 investigate condition in collMod uniq... Closed
related to SERVER-63500 Optimize the full index scan when con... Backlog
related to SERVER-61560 simplify cursor initialization for un... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.2
Sprint: Execution Team 2021-11-15
Participants:

 Comments   
Comment by Githook User [ 28/Mar/22 ]

Author:

{'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}

Message: Revert "SERVER-61159 Check for duplicates before converting a non-unique index to unique"

This reverts commit a8ce9aab78095ba80a813200b31f179735693332.
Branch: v4.2
https://github.com/mongodb/mongo/commit/bcec786640b9f6b82e1073d41e68c95ff1814a6a

Comment by Githook User [ 11/Mar/22 ]

Author:

{'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}

Message: SERVER-61159 Check for duplicates before converting a non-unique index to unique
Branch: v4.2
https://github.com/mongodb/mongo/commit/a8ce9aab78095ba80a813200b31f179735693332

Comment by Githook User [ 09/Nov/21 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-61159 Check for duplicates before converting a non-unique index to unique
Branch: master
https://github.com/mongodb/mongo/commit/f1707cdab37d90600f398ffe264ddf8b42cb32e6

Comment by Githook User [ 09/Nov/21 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-61159 add processCollModCommandForApplyOps()

This is used by applyCommand_inlock() to supply the current oplog application
mode to the collMod implementation.
Branch: master
https://github.com/mongodb/mongo/commit/d88b71c3d515043f1997afb0e89b9cbaf061fd61

Comment by Githook User [ 09/Nov/21 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-61159 add js test for running a collMod via applyOps to convert an index to unique
Branch: master
https://github.com/mongodb/mongo/commit/6b1562b7fa91472791399b6abd8b5365bad48680

Generated at Thu Feb 08 05:51:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.