From 5430880bfc101482718782b8146da30f73207b26 Mon Sep 17 00:00:00 2001 From: Daniel Gottlieb Date: Mon, 16 Apr 2018 19:45:31 -0400 Subject: SERVER-34314: Fix assertion codes. --- src/mongo/db/pipeline/resume_token.cpp | 4 ++-- 1 file 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(); -- cgit v1.2.1