diff options
author | Matthew Russotto <matthew.russotto@10gen.com> | 2018-04-13 16:09:46 -0400 |
---|---|---|
committer | Matthew Russotto <matthew.russotto@10gen.com> | 2018-04-13 16:09:46 -0400 |
commit | 7c65bad3c3dd5e9fe47cdb835d5374113596df3e (patch) | |
tree | 6cf3f379a4d921cafc834933079ca4992ce23636 /src/mongo/bson | |
parent | 2416088059f8b1fe0a14e1681c66a11e09f3fc3f (diff) | |
download | mongo-7c65bad3c3dd5e9fe47cdb835d5374113596df3e.tar.gz |
SERVER-33951 Abort transactions when the pending writes pass 16MB worth of write data
Diffstat (limited to 'src/mongo/bson')
-rw-r--r-- | src/mongo/bson/bsonobj.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/bson/bsonobj.cpp b/src/mongo/bson/bsonobj.cpp index 6f357308727..244d4ff5c67 100644 --- a/src/mongo/bson/bsonobj.cpp +++ b/src/mongo/bson/bsonobj.cpp @@ -98,7 +98,7 @@ void BSONObj::_assertInvalid() const { ss << " First element: " << e.toString(); } catch (...) { } - massert(10334, ss.str(), 0); + massert(ErrorCodes::BSONObjectTooLarge, ss.str(), 0); } BSONObj BSONObj::copy() const { |