[SERVER-62431] [POC] Enforce uniqueness constraint early during collMod converting index to unique Created: 07/Jan/22  Updated: 28/Jan/22  Resolved: 28/Jan/22

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: Yuhong Zhang
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-62004 Add unittest coverage for storage eng... Closed
Related
related to SERVER-61913 Investigate tracking deletes for uniq... Closed
Sprint: Execution Team 2022-01-24, Execution Team 2022-02-07
Participants:

 Description   

Currently we install a concurrent writes tracker while scanning the index for duplicates while only holding an IX lock. We would like to reject those concurrent writes if they have any violations on the uniqueness constraint right away instead of letting collMod handle them.


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