diff options
author | Ivan Fefer <ivan.fefer@mongodb.com> | 2022-09-13 14:15:31 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-09-13 14:48:54 +0000 |
commit | 07a062b64ab620ed4b2d896eabf9c22b783d5228 (patch) | |
tree | 5668317e4ccfbc6c46af08de2f0b9b39b0c20fb4 /src | |
parent | d26ae542584d0e4d92f1d9906e49b6f5a24d260f (diff) | |
download | mongo-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.cpp | 2 |
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) { |