[SERVER-9423] Make findAndModify/update + upsert == atomic Created: 22/Apr/13 Updated: 10/Dec/14 Resolved: 22/Apr/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Write Ops |
| Affects Version/s: | 2.0.8, 2.2.4, 2.4.2 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | commands, findAndModify, update | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
Currently there are cases where findAndModify/update is not atomic for the find+update/insert unless the query fields are in a unique index. |