[SERVER-62886] Add the option `disallowNewDuplicateKeys` to collMod command Created: 21/Jan/22  Updated: 29/Oct/23  Resolved: 28/Jan/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.0

Type: Task Priority: Major - P3
Reporter: Yuhong Zhang Assignee: Yuhong Zhang
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-63443 Make 'disallowNewDuplicateKeys' persi... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2022-02-07
Participants:

 Description   

In SERVER-62004, we enabled regular indexes to reject documents introducing duplicate keys. We will use the collMod command to toggle the in-memory flag to expose this feature to the users.



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

Author:

{'name': 'Yuhong Zhang', 'email': 'danielzhangyh@gmail.com', 'username': 'YuhongZhang98'}

Message: SERVER-62886 Add the option `disallowNewDuplicateKeys` to collMod command
Branch: master
https://github.com/mongodb/mongo/commit/f02247dfac78ed35cbd4bc8b0a510209463c6080

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