summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIvan Fefer <ivan.fefer@mongodb.com>2022-09-13 14:15:31 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-09-13 14:48:54 +0000
commit07a062b64ab620ed4b2d896eabf9c22b783d5228 (patch)
tree5668317e4ccfbc6c46af08de2f0b9b39b0c20fb4 /src
parentd26ae542584d0e4d92f1d9906e49b6f5a24d260f (diff)
downloadmongo-07a062b64ab620ed4b2d896eabf9c22b783d5228.tar.gz
SERVER-67363 Ensure aggregation with $indexStats stage only increments top counters once
Diffstat (limited to 'src')
-rw-r--r--src/mongo/db/pipeline/process_interface/common_mongod_process_interface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/process_interface/common_mongod_process_interface.cpp b/src/mongo/db/pipeline/process_interface/common_mongod_process_interface.cpp
index 0f533f0daab..c341101d893 100644
--- a/src/mongo/db/pipeline/process_interface/common_mongod_process_interface.cpp
+++ b/src/mongo/db/pipeline/process_interface/common_mongod_process_interface.cpp
@@ -173,7 +173,7 @@ std::vector<Document> CommonMongodProcessInterface::getIndexStats(OperationConte
const NamespaceString& ns,
StringData host,
bool addShardName) {
- AutoGetCollectionForReadCommandMaybeLockFree collection(opCtx, ns);
+ AutoGetCollectionForReadMaybeLockFree collection(opCtx, ns);
std::vector<Document> indexStats;
if (!collection) {