diff options
author | Enrico Golfieri <enrico.golfieri@mongodb.com> | 2022-06-27 12:18:23 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-06-27 13:15:07 +0000 |
commit | 5fa5b443b9b9e056071cb65207faacc31e493f91 (patch) | |
tree | 07fdd8c36add2d0eb98e2d3fb11c940ab0db57ec | |
parent | 98807b2bc09f4089c666f5e5500163198116d2bc (diff) | |
download | mongo-5fa5b443b9b9e056071cb65207faacc31e493f91.tar.gz |
SERVER-67500 wrong error message in ConfigSvrCommitChunkMigration
-rw-r--r-- | src/mongo/db/s/config/configsvr_commit_chunk_migration_command.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/config/configsvr_commit_chunk_migration_command.cpp b/src/mongo/db/s/config/configsvr_commit_chunk_migration_command.cpp index a50f499662f..30ecefe11c8 100644 --- a/src/mongo/db/s/config/configsvr_commit_chunk_migration_command.cpp +++ b/src/mongo/db/s/config/configsvr_commit_chunk_migration_command.cpp @@ -122,7 +122,7 @@ public: ConfigSvrCommitChunkMigrationResponse typedRun(OperationContext* opCtx) { uassert(ErrorCodes::IllegalOperation, - "_configsvrClearJumboFlag can only be run on config servers", + "_configsvrCommitChunkMigration can only be run on config servers", serverGlobalParams.clusterRole == ClusterRole::ConfigServer); // Set the operation context read concern level to local for reads into the config |