diff options
author | Randolph Tan <randolph@10gen.com> | 2019-03-21 12:02:32 -0400 |
---|---|---|
committer | Randolph Tan <randolph@10gen.com> | 2019-04-03 16:49:49 -0400 |
commit | c4d16e522c18e96114fd3e9b1b71ba835d11c8d7 (patch) | |
tree | 28c9e9d8801696767ac96848c89ab4caddf89e19 /src/mongo/db/handle_request_response.cpp | |
parent | 47153dbf7aebeba9a5b9086a82709adfa6fd7226 (diff) | |
download | mongo-c4d16e522c18e96114fd3e9b1b71ba835d11c8d7.tar.gz |
SERVER-39175 Transactional bulkWrite error missing writeErrors (mongos)
Diffstat (limited to 'src/mongo/db/handle_request_response.cpp')
-rw-r--r-- | src/mongo/db/handle_request_response.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/handle_request_response.cpp b/src/mongo/db/handle_request_response.cpp index b22c348f502..062075b82db 100644 --- a/src/mongo/db/handle_request_response.cpp +++ b/src/mongo/db/handle_request_response.cpp @@ -50,7 +50,7 @@ BSONObj getErrorLabels(const OperationSessionInfoFromClient& sessionOptions, commandName == "commitTransaction" || commandName == "coordinateCommitTransaction"); if (isTransient) { - return BSON("errorLabels" << BSON_ARRAY("TransientTransactionError")); + return BSON("errorLabels" << BSON_ARRAY(txn::TransientTxnErrorFieldName)); } return {}; } |