diff options
author | Huayu Ouyang <huayu.ouyang@mongodb.com> | 2020-09-24 21:10:10 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-09-30 19:56:50 +0000 |
commit | f831517ed6ee7e0b866229d45d2149bf23dece60 (patch) | |
tree | 0bc7365e4857a5d3ce5a438e1f921ff7fe272b72 /src/mongo/s/commands/cluster_is_master_cmd.cpp | |
parent | f393c88a92010d406f063ca4fcc866f1988bf84d (diff) | |
download | mongo-f831517ed6ee7e0b866229d45d2149bf23dece60.tar.gz |
SERVER-50418-2 Rename IsMasterMetrics to HelloMetrics and InExhaustIsMaster to InExhaustHello
Diffstat (limited to 'src/mongo/s/commands/cluster_is_master_cmd.cpp')
-rw-r--r-- | src/mongo/s/commands/cluster_is_master_cmd.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/s/commands/cluster_is_master_cmd.cpp b/src/mongo/s/commands/cluster_is_master_cmd.cpp index 08917ebc0e5..532f29c7e04 100644 --- a/src/mongo/s/commands/cluster_is_master_cmd.cpp +++ b/src/mongo/s/commands/cluster_is_master_cmd.cpp @@ -205,9 +205,8 @@ public: maxAwaitTimeMSField); invariant(clientTopologyVersion); - InExhaustIsMaster::get(opCtx->getClient()->session().get()) - ->setInExhaustIsMaster(true /* inExhaust */, - cmdObj.firstElementFieldNameStringData()); + InExhaustHello::get(opCtx->getClient()->session().get()) + ->setInExhaust(true /* inExhaust */, getName()); if (clientTopologyVersion->getProcessId() == currentMongosTopologyVersion.getProcessId() && |