[SERVER-16143] WriteConflict returned to client with concurrent multikey index inserts Created: 13/Nov/14 Updated: 11/Jul/16 Resolved: 26/Nov/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Concurrency |
| Affects Version/s: | 2.8.0-rc0 |
| Fix Version/s: | 2.8.0-rc2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | David Percy | Assignee: | Kaloian Manassiev |
| Resolution: | Done | Votes: | 0 |
| Labels: | 28qa | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
We have a handful of threads doing inserts and finds against a collection with a multikey index. The inserts should succeed, but the WriteResult returned by the server looks like this:
The bug can happen with as few as 2 threads, but it is more reliable to reproduce with ~8 threads. Running with dozens or hundreds of threads seems to make it less reliable to reproduce. |
| Comments |
| Comment by Githook User [ 26/Nov/14 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: |
| Comment by Githook User [ 24/Nov/14 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: |
| Comment by Eliot Horowitz (Inactive) [ 13/Nov/14 ] |
|
Repro? |