diff options
author | Amirsaman Memaripour <amirsaman.memaripour@mongodb.com> | 2022-05-10 19:22:40 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-05-11 22:07:44 +0000 |
commit | 81fa710687e399d7aa2bd093987396c6f6a36956 (patch) | |
tree | c960f15b8c1dc764d6da4420b23b6eed93d92420 | |
parent | 558e2dfd2cc4d4a7e87b321d1a65c89a23984b17 (diff) | |
download | mongo-81fa710687e399d7aa2bd093987396c6f6a36956.tar.gz |
SERVER-59400 Revert "SERVER-55581: Return ScopedDbConnection to connection pool in cluster aggregation planner"
This reverts commit 663e90bbe862969572246b7b442845ed83a2472d.
-rw-r--r-- | src/mongo/s/query/cluster_aggregation_planner.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/s/query/cluster_aggregation_planner.cpp b/src/mongo/s/query/cluster_aggregation_planner.cpp index 710048b74da..dc044f72309 100644 --- a/src/mongo/s/query/cluster_aggregation_planner.cpp +++ b/src/mongo/s/query/cluster_aggregation_planner.cpp @@ -497,7 +497,6 @@ BSONObj getUnshardedCollInfo(OperationContext* opCtx, ScopedDbConnection conn(shard->getConnString()); std::list<BSONObj> all = conn->getCollectionInfos(nss.db().toString(), BSON("name" << nss.coll())); - conn.done(); if (all.empty()) { // Collection does not exist, return an empty object. return BSONObj(); |