diff options
author | Daniel Gottlieb <daniel.gottlieb@mongodb.com> | 2018-04-16 19:45:31 -0400 |
---|---|---|
committer | Daniel Gottlieb <daniel.gottlieb@mongodb.com> | 2018-04-16 19:45:31 -0400 |
commit | 5430880bfc101482718782b8146da30f73207b26 (patch) | |
tree | 8f0cb188f9e07e1ea3fd69e1d2282688972d7259 | |
parent | 239f4fac258a3b973b3cb3187d2b175f757f84df (diff) | |
download | mongo-r3.7.4.tar.gz |
SERVER-34314: Fix assertion codes.r3.7.4
-rw-r--r-- | src/mongo/db/pipeline/resume_token.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/resume_token.cpp b/src/mongo/db/pipeline/resume_token.cpp index 0fb316bcf4d..e602379dd0c 100644 --- a/src/mongo/db/pipeline/resume_token.cpp +++ b/src/mongo/db/pipeline/resume_token.cpp @@ -194,11 +194,11 @@ ResumeTokenData ResumeToken::getData() const { case BSONType::String: { // Next comes the resume token version. auto versionElt = i.next(); - uassert(50790, + uassert(50796, "Resume Token does not contain applyOpsIndex", versionElt.type() == BSONType::NumberInt); result.version = versionElt.numberInt(); - uassert(50791, "Invalid Resume Token: only supports version 0", result.version == 0); + uassert(50795, "Invalid Resume Token: only supports version 0", result.version == 0); // The new format has applyOpsIndex next. auto applyOpsElt = i.next(); |