-
Type:
Task
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 3.1.0
-
Component/s: Sharding, Testing Infrastructure
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The test fails with
Error: 10 threads threw 10 different exceptions:
Each of which are something like this:
1 thread threw
Error: [1] != [0] are not equal : {
"query" : {
"tid" : 0,
"i" : 0
},
"update" : {
"$inc" : {
"n" : 1
}
},
"options" : {
"multi" : true,
"upsert" : true
},
"result" : {
"nMatched" : 0,
"nUpserted" : 0,
"writeError" : {
"code" : 61,
"errmsg" : "upsert { q: { tid: 0.0, i: 0.0 }, u: { $inc: { n: 1.0 } }, multi: true, upsert: true } does not contain shard key for pattern { _id: \"hashed\" }"
}
}
}
at quietlyDoAssert (jstests/concurrency/fsm_libs/assert.js:53:15)
at Function.assert.eq (src/mongo/shell/assert.js:38:5)
at wrapAssertFn (jstests/concurrency/fsm_libs/assert.js:60:16)
at Function.assertWithLevel.(anonymous function) [as eq] (jstests/concurrency/fsm_libs/assert.js:99:13)
at Object.insert (jstests/concurrency/fsm_workloads/update_upsert_multi.js:24:31)
at Object.runFSM [as run] (jstests/concurrency/fsm_libs/fsm.js:19:16)
at <anonymous>:8:13
at Object.main (jstests/concurrency/fsm_libs/worker_thread.js:79:17)
at ____MongoToV8_newFunction_temp (<anonymous>:5:25)
at ____MongoToV8_newFunction_temp (<anonymous>:3:24)