diff options
author | auto-revert-processor <dev-prod-dag@mongodb.com> | 2023-05-10 09:45:34 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-05-10 11:14:47 +0000 |
commit | 118b6f998ca8ceb1b6392071f49efa3649cbe4e1 (patch) | |
tree | 31a4b138d5f23fdb07603cc270addeed5b1ae490 /src/mongo/db/clientcursor.cpp | |
parent | 406e69f6f5dee8b698c4e4308de2e9e5cef6c12c (diff) | |
download | mongo-118b6f998ca8ceb1b6392071f49efa3649cbe4e1.tar.gz |
Revert "SERVER-75512 key telemetry store on hash rather than BSONObj"
This reverts commit b6eab7e7d83b10cef5c57f781c1751b465aade9f.
Diffstat (limited to 'src/mongo/db/clientcursor.cpp')
-rw-r--r-- | src/mongo/db/clientcursor.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mongo/db/clientcursor.cpp b/src/mongo/db/clientcursor.cpp index 55e116e5893..a18b2fec45b 100644 --- a/src/mongo/db/clientcursor.cpp +++ b/src/mongo/db/clientcursor.cpp @@ -124,7 +124,6 @@ ClientCursor::ClientCursor(ClientCursorParams params, _planSummary(_exec->getPlanExplainer().getPlanSummary()), _planCacheKey(CurOp::get(operationUsingCursor)->debug().planCacheKey), _queryHash(CurOp::get(operationUsingCursor)->debug().queryHash), - _telemetryStoreKeyHash(CurOp::get(operationUsingCursor)->debug().telemetryStoreKeyHash), _telemetryStoreKey(CurOp::get(operationUsingCursor)->debug().telemetryStoreKey), _telemetryRequestShapifier( std::move(CurOp::get(operationUsingCursor)->debug().telemetryRequestShapifier)), @@ -161,9 +160,8 @@ void ClientCursor::dispose(OperationContext* opCtx, boost::optional<Date_t> now) return; } - if (_telemetryStoreKeyHash && opCtx) { + if (_telemetryStoreKey && opCtx) { telemetry::writeTelemetry(opCtx, - _telemetryStoreKeyHash, _telemetryStoreKey, std::move(_telemetryRequestShapifier), _metrics.executionTime.value_or(Microseconds{0}).count(), @@ -408,7 +406,6 @@ void collectTelemetryMongod(OperationContext* opCtx, auto& opDebug = CurOp::get(opCtx)->debug(); telemetry::writeTelemetry( opCtx, - opDebug.telemetryStoreKeyHash, opDebug.telemetryStoreKey, std::move(requestShapifier), opDebug.additiveMetrics.executionTime.value_or(Microseconds{0}).count(), |