|
To make it easier to debug concurrency suite failures, we should mimic the stack traces from v8 until SERVER-18781 is addressed.
Example report from 3.1.5:
ReferenceError: __mrerror__ is not defined
|
at DBCollection.mapReduce (jstests/concurrency/fsm_libs/worker_thread.js:27:21)
|
at Object.mapReduce (jstests/concurrency/fsm_workloads/map_reduce_reduce_nonatomic.js:46:32)
|
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:108:17)
|
at ____MongoToV8_newFunction_temp (<anonymous>:5:25)
|
at ____MongoToV8_newFunction_temp (<anonymous>:3:24)
|
Example report from master:
DBCollection.prototype.mapReduce@jstests/concurrency/fsm_libs/worker_thread.js:27:9
|
mapReduce@jstests/concurrency/fsm_workloads/map_reduce_merge.js:46:19
|
runFSM@jstests/concurrency/fsm_libs/fsm.js:19:13
|
____MongoToSM_newFunction_temp/<@:10:9
|
main@jstests/concurrency/fsm_libs/worker_thread.js:108:17
|
____MongoToSM_newFunction_temp@:7:1
|
____MongoToSM_newFunction_temp@:5:24
|
|