summaryrefslogtreecommitdiff
path: root/src/mongo/s/query
diff options
context:
space:
mode:
authorjoshua <80741223+jlap199@users.noreply.github.com>2023-03-31 22:03:01 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-04-01 01:48:42 +0000
commit807f533d63cbb8fe42c352f79d1a0db10904e83e (patch)
treecf30fb797325fe727cfeeaa4e4431f9024ef8700 /src/mongo/s/query
parent8177dc0ecccc852f65519dcca19edb7556ceecb3 (diff)
downloadmongo-807f533d63cbb8fe42c352f79d1a0db10904e83e.tar.gz
SERVER-74213: Remove hashedTelemetryKey from find and agg commands
Diffstat (limited to 'src/mongo/s/query')
-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());
}