[SERVER-61932] Returns all duplicates from concurrent writes during collMod converting to unique index Created: 06/Dec/21  Updated: 29/Oct/23  Resolved: 10/Dec/21

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

Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2021-12-13
Participants:

 Description   

Currently when scanning duplicate keys in the index using the keys recorded from the side write tracker, we return right away once we see the first duplicate key. Similar to SERVER-61393, we should return all the violations here too.



 Comments   
Comment by Githook User [ 09/Dec/21 ]

Author:

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

Message: SERVER-61932 Returns all duplicates from concurrent writes during collMod converting to unique index
Branch: master
https://github.com/mongodb/mongo/commit/2fbd603ec53cf4c27e40cb520bc17ab3e3c7fb12

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