summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/strategy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/commands/strategy.cpp')
-rw-r--r--src/mongo/s/commands/strategy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/commands/strategy.cpp b/src/mongo/s/commands/strategy.cpp
index f90d6d1beb6..744fd0008e5 100644
--- a/src/mongo/s/commands/strategy.cpp
+++ b/src/mongo/s/commands/strategy.cpp
@@ -315,7 +315,7 @@ void runCommand(OperationContext* opCtx,
opCtx->setExhaust(OpMsg::isFlagSet(m, OpMsg::kExhaustSupported));
const auto session = opCtx->getClient()->session();
if (session) {
- if (!opCtx->isExhaust() || command->getName() != "isMaster"_sd) {
+ if (!opCtx->isExhaust() || command->getName() != "hello"_sd) {
InExhaustIsMaster::get(session.get())->setInExhaustIsMaster(false);
}
}