[SERVER-63577] Ensure that new unique indexes don't have old format keys Created: 11/Feb/22  Updated: 29/Oct/23  Resolved: 07/Apr/22

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

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

Issue Links:
Depends
depends on SERVER-64555 [5.0] Allow new unique index data for... Closed
depends on SERVER-64617 [5.3] Allow new unique index data for... Closed
is depended on by SERVER-63727 Optimize inserts for unique indexes t... Closed
Documented
is documented by DOCS-15219 Investigate changes in SERVER-63577: ... Closed
Related
related to SERVER-63582 Fail gracefully if a user tries conve... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2022-02-21, Execution Team 2022-03-07, Execution Team 2022-03-21, Execution Team 2022-04-04, Execution Team 2022-04-18
Participants:

 Description   

We can do this by introducing a new internal data format version and use that when creating new unique indexes.

In the future, this new data format will guarantee that no legacy format secondary unique index entries are still around.



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

Author:

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

Message: SERVER-63577 Exclude the unique index data format test from the future git tag multiversion variant
Branch: master
https://github.com/mongodb/mongo/commit/6cea72b5a8ac938a2e398e653362b55fe4a5f012

Comment by Githook User [ 06/Apr/22 ]

Author:

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

Message: SERVER-63577 Introduce new unique index data formats
Branch: master
https://github.com/mongodb/mongo/commit/38e40422c04e118cd55986945cc6c31918187f9b

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