summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2023-01-25 17:33:28 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-01-27 17:34:16 +0000
commit2c476fca4c0ee33312acd7591e8a0a2d7ac9020e (patch)
tree7442d4a30c67802584fafdb25f56cc16e5d78f1d
parent4d4772c246e440b577218ff40de892c2c1aa66ab (diff)
downloadmongo-2c476fca4c0ee33312acd7591e8a0a2d7ac9020e.tar.gz
SERVER-73264 Fix wrong invariant in MigrationChunkClonerSource::commitClone
(cherry picked from commit dac5e7c0e8552d1fd261201e9238534a4a5d9156)
-rw-r--r--src/mongo/db/s/migration_chunk_cloner_source_legacy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/migration_chunk_cloner_source_legacy.cpp b/src/mongo/db/s/migration_chunk_cloner_source_legacy.cpp
index c324a8affe5..0b68b839712 100644
--- a/src/mongo/db/s/migration_chunk_cloner_source_legacy.cpp
+++ b/src/mongo/db/s/migration_chunk_cloner_source_legacy.cpp
@@ -413,7 +413,7 @@ StatusWith<BSONObj> MigrationChunkClonerSourceLegacy::commitClone(OperationConte
}
} else {
invariant(PlanExecutor::IS_EOF == _jumboChunkCloneState->clonerState);
- invariant(_cloneList.hasMore());
+ invariant(!_cloneList.hasMore());
}
}