[SERVER-21948] DuplicateKeyError during upsert Created: 18/Dec/15 Updated: 18/Dec/15 Resolved: 18/Dec/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 3.0.8 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Trivial - P5 |
| Reporter: | Mateusz Moneta | 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 | ||||||||
| Participants: | |||||||||
| Description |
|
Hi, this error is very rare (I cannot reproduce it), it happens on production every one-two hours (operation which cause this errors have rate ~100/s). I read about this issue but every topic I found is about multiple unique indexes which isn't the case here. My collection has one unique index (_id), two regular ones and one Map Field(EmbededDocumentField). I think these issues started after upgrading Mongo to 3.0 and WiredTiger engine. Current setup: Sample query which causing issue:
|
| Comments |
| Comment by Kaloian Manassiev [ 18/Dec/15 ] |
|
Hi Mateusz, This is duplicate of
-Kal. |