[SERVER-62209] Add 'comment' option to 'createIndex' command Created: 21/Dec/21  Updated: 27/Oct/23  Resolved: 27/Feb/23

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

Type: Task Priority: Major - P3
Reporter: Yuhong Zhang Assignee: Backlog - Storage Execution Team
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Problem/Incident
Related
is related to SERVER-62971 Add the option to collMod that update... Closed
is related to SERVER-63089 Disallow downgrade when the index com... Closed
Assigned Teams:
Storage Execution
Sprint: Execution Team 2021-12-27, Execution Team 2022-01-10, Execution Team 2022-01-24, Execution Team 2022-02-07
Participants:
Linked BF Score: 155

 Description   

Add a comment field to the index spec that accepts BSONObj such that the replicator is able to identify which indexes need uniqueness enforced with collMod.



 Comments   
Comment by Githook User [ 07/Feb/22 ]

Author:

{'name': 'Shin Yee Tan', 'email': 'shinyee.tan@mongodb.com', 'username': 'shinyeet'}

Message: Revert "SERVER-62209 Add 'comment' option to 'createIndex' command"

This reverts commit f395e9d34b413781bcfb67c2674378734223466c.
Branch: master
https://github.com/mongodb/mongo/commit/ccd044ecf761baf8a8cb6487b2ebe676e6611599

Comment by Githook User [ 07/Feb/22 ]

Author:

{'name': 'Shin Yee Tan', 'email': 'shinyee.tan@mongodb.com', 'username': 'shinyeet'}

Message: Revert "SERVER-62209 Add test for creating index with different comment to fail"

This reverts commit 88900b07bf5ae5ad8c70df762bdf58ea16ddfc6d.
Branch: master
https://github.com/mongodb/mongo/commit/e30f2dc4640aee62e0e5d75a017d5177f59b0b08

Comment by Githook User [ 27/Jan/22 ]

Author:

{'name': 'Shin Yee Tan', 'email': 'shinyee.tan@mongodb.com', 'username': 'shinyeet'}

Message: SERVER-62209 Add test for creating index with different comment to fail
Branch: master
https://github.com/mongodb/mongo/commit/88900b07bf5ae5ad8c70df762bdf58ea16ddfc6d

Comment by Githook User [ 24/Jan/22 ]

Author:

{'name': 'Shin Yee Tan', 'email': 'shinyee.tan@mongodb.com', 'username': 'shinyeet'}

Message: SERVER-62209 Add 'comment' option to 'createIndex' command
Branch: master
https://github.com/mongodb/mongo/commit/f395e9d34b413781bcfb67c2674378734223466c

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