[SERVER-60252] `findAndModify` does not retry on unique index violations Created: 27/Sep/21 Updated: 29/Sep/21 Resolved: 29/Sep/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jordi Salvat i Alabart | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Steps To Reproduce: |
|
||||||||
| Participants: | |||||||||
| Description |
|
`findAndModify` is still throwing "E11000 duplicate key error" even in cases where all the conditions outlined in This has been confirmed by 3 independent users – see comments https://jira.mongodb.org/browse/SERVER-14322?focusedCommentId=4035914&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-4035914 and following. Maybe |
| Comments |
| Comment by Jordi Salvat i Alabart [ 29/Sep/21 ] |
|
Thanks and apologies for not finding the dupe. |
| Comment by Edwin Zhou [ 29/Sep/21 ] |
|
Hi jordi@mixmax.com, As James highlights in Best, |