summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_find_cmd.h
diff options
context:
space:
mode:
authorPol Pinol Castuera <pol.pinol@mongodb.com>2023-03-07 08:34:07 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-03-07 10:05:58 +0000
commita1828809c81e1e96e51784095bfc9055a4e2b4d6 (patch)
tree9a672964ff8f665f9a00036d450102bfb59f25f0 /src/mongo/s/commands/cluster_find_cmd.h
parenta139508e0d0146690f74fcea529571871b33dca7 (diff)
downloadmongo-a1828809c81e1e96e51784095bfc9055a4e2b4d6.tar.gz
SERVER-73394 Remove operationsBlockedByRefresh metrics
Diffstat (limited to 'src/mongo/s/commands/cluster_find_cmd.h')
-rw-r--r--src/mongo/s/commands/cluster_find_cmd.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/s/commands/cluster_find_cmd.h b/src/mongo/s/commands/cluster_find_cmd.h
index 23b99fcea2d..00a1378d308 100644
--- a/src/mongo/s/commands/cluster_find_cmd.h
+++ b/src/mongo/s/commands/cluster_find_cmd.h
@@ -209,11 +209,6 @@ public:
Impl::checkCanRunHere(opCtx);
- ON_BLOCK_EXIT([opCtx] {
- Grid::get(opCtx)->catalogCache()->checkAndRecordOperationBlockedByRefresh(
- opCtx, mongo::LogicalOp::opQuery);
- });
-
auto findCommand = _parseCmdObjectToFindCommandRequest(opCtx, ns(), _request.body);
const boost::intrusive_ptr<ExpressionContext> expCtx;