summaryrefslogtreecommitdiff
path: root/src/mongo/s/query/cluster_find.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/query/cluster_find.cpp')
-rw-r--r--src/mongo/s/query/cluster_find.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/s/query/cluster_find.cpp b/src/mongo/s/query/cluster_find.cpp
index e43d0614971..18b9b9dbacf 100644
--- a/src/mongo/s/query/cluster_find.cpp
+++ b/src/mongo/s/query/cluster_find.cpp
@@ -47,7 +47,6 @@
#include "mongo/db/commands.h"
#include "mongo/db/curop.h"
#include "mongo/db/curop_failpoint_helpers.h"
-#include "mongo/db/fle_crud.h"
#include "mongo/db/pipeline/change_stream_invalidation_info.h"
#include "mongo/db/query/canonical_query.h"
#include "mongo/db/query/canonical_query_encoder.h"
@@ -74,7 +73,6 @@
#include "mongo/s/stale_exception.h"
#include "mongo/s/transaction_router.h"
#include "mongo/util/fail_point.h"
-#include "mongo/util/net/socket_utils.h"
#include "mongo/util/scopeguard.h"
#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kQuery
@@ -207,8 +205,6 @@ std::vector<std::pair<ShardId, BSONObj>> constructRequestsForShards(
analyze_shard_key::appendSampleId(&cmdBuilder, *sampleId);
}
- telemetry::appendShardedTelemetryKeyIfApplicable(
- cmdBuilder, getHostNameCachedAndPort(), opCtx);
requests.emplace_back(shardId, cmdBuilder.obj());
}