|
Author:
{u'username': u'hanumantmk', u'name': u'Jason Carey', u'email': u'jcarey@argv.me'}
Message: SERVER-19727 captureStackTrace bulk_api emulation
form stack traces that have more information and look more like v8
captureStackTrace stack traces.
Branch: master
https://github.com/mongodb/mongo/commit/1febdbe599d63268fbc5b8415587a0c489f48874
|
|
v8:
BulkWriteError({
|
"writeErrors" : [
|
{
|
"index" : 1,
|
"code" : 11000,
|
"errmsg" : "E11000 duplicate key error collection: test.test index: _id_ dup key: { : 1.0 }",
|
"op" : {
|
"_id" : 1
|
}
|
}
|
],
|
"writeConcernErrors" : [ ],
|
"nInserted" : 1,
|
"nUpserted" : 0,
|
"nMatched" : 0,
|
"nModified" : 0,
|
"nRemoved" : 0,
|
"upserted" : [ ]
|
})
|
at toError (src/mongo/shell/bulk_api.js:335:16)
|
at execute (src/mongo/shell/bulk_api.js:1162:27)
|
at repro.js:9:10
|
|
|
updated:
BulkWriteError({
|
"writeErrors" : [
|
{
|
"index" : 1,
|
"code" : 11000,
|
"errmsg" : "E11000 duplicate key error collection: test.test index: _id_ dup key: { : 1.0 }",
|
"op" : {
|
"_id" : 1
|
}
|
}
|
],
|
"writeConcernErrors" : [ ],
|
"nInserted" : 1,
|
"nUpserted" : 0,
|
"nMatched" : 0,
|
"nModified" : 0,
|
"nRemoved" : 0,
|
"upserted" : [ ]
|
})
|
BulkWriteError@src/mongo/shell/bulk_api.js:372:44
|
BulkWriteResult/this.toError@src/mongo/shell/bulk_api.js:335:16
|
Bulk/this.execute@src/mongo/shell/bulk_api.js:1162:1
|
@repro.js:9:5
|
|
|
Current stack for a bulk write failure:
_bulk_api_module<@src/mongo/shell/bulk_api.js:379:30
|
@src/mongo/shell/bulk_api.js:4:25
|
|
Generated at Thu Feb 08 03:51:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.