[SERVER-16429] Concurrent mapReduces with same replacement collection fail with WT Created: 05/Dec/14 Updated: 18/Dec/15 Resolved: 10/Dec/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Concurrency, MapReduce |
| Affects Version/s: | 2.8.0-rc2 |
| Fix Version/s: | 2.8.0-rc3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kamran K. | Assignee: | Kaloian Manassiev |
| Resolution: | Done | Votes: | 0 |
| Labels: | 28qa, wiredtiger | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
|||||||||||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | |||||||||||||||||||||||||||||||||||||||||
| Operating System: | ALL | |||||||||||||||||||||||||||||||||||||||||
| Steps To Reproduce: | Run this script against mongod --storageEngine=wiredTiger:
|
|||||||||||||||||||||||||||||||||||||||||
| Participants: | ||||||||||||||||||||||||||||||||||||||||||
| Description |
|
Concurrent mapReduce operations that specify the same replacement collection can fail with "target namespace exists" errors when using WiredTiger. The same error is seemingly not reproducible with mmapv1. I wouldn't expect a mapReduce operation with a 'replace' action to fail due to an existing namespace. Error message:
Version: b766e395167dc27 |
| Comments |
| Comment by Moshe Kaplan [X] [ 18/Dec/15 ] | |||||||||
|
Dan Pasette, just did it: https://jira.mongodb.org/browse/SERVER-21943 | |||||||||
| Comment by Daniel Pasette (Inactive) [ 17/Dec/15 ] | |||||||||
|
MosheKaplan, This doesn't look like precisely the same issue. Can you open a new SERVER ticket where we can get additional details from you? | |||||||||
| Comment by Moshe Kaplan [X] [ 17/Dec/15 ] | |||||||||
|
We got the same error at version 3.0.4. Attached is the log error from the failed shard:
| |||||||||
| Comment by Githook User [ 12/Dec/14 ] | |||||||||
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: | |||||||||
| Comment by Githook User [ 12/Dec/14 ] | |||||||||
|
Author: {u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}Message: | |||||||||
| Comment by Githook User [ 10/Dec/14 ] | |||||||||
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: Revert " This reverts commit 77f3100bc8753055224abb0c6439fc506eeb02de. | |||||||||
| Comment by Githook User [ 10/Dec/14 ] | |||||||||
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: | |||||||||
| Comment by Githook User [ 10/Dec/14 ] | |||||||||
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: | |||||||||
| Comment by Githook User [ 10/Dec/14 ] | |||||||||
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: | |||||||||
| Comment by Mathias Stearn [ 08/Dec/14 ] | |||||||||
|
This will be fixed by Kal's ScopedTransaction work. |