diff options
-rw-r--r-- | src/mongo/db/s/config/configsvr_repair_sharded_collection_chunks_history_command.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/s/config/configsvr_repair_sharded_collection_chunks_history_command.cpp b/src/mongo/db/s/config/configsvr_repair_sharded_collection_chunks_history_command.cpp index 138c66d4385..29327d8871c 100644 --- a/src/mongo/db/s/config/configsvr_repair_sharded_collection_chunks_history_command.cpp +++ b/src/mongo/db/s/config/configsvr_repair_sharded_collection_chunks_history_command.cpp @@ -96,7 +96,8 @@ public: repl::ReadConcernArgs(repl::ReadConcernLevel::kLocalReadConcern); uassert(ErrorCodes::InvalidOptions, - str::stream() << "_configsvrRepairShardedCollectionChunksHistory must be called with majority writeConcern, got " + str::stream() << "_configsvrRepairShardedCollectionChunksHistory must be called " + "with majority writeConcern, got " << cmdObj, opCtx->getWriteConcern().wMode == WriteConcernOptions::kMajority); |