diff options
author | Tyler Seip <Tyler.Seip@mongodb.com> | 2021-08-12 21:42:55 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-08-12 21:55:51 +0000 |
commit | 5f4859e07684580c4ecafdb8ea1682d2bb856ee9 (patch) | |
tree | 82119e0072dd4997bfdf95a087e318503007432c | |
parent | b43203546722121c8160cb795aa887c55f193c3e (diff) | |
download | mongo-5f4859e07684580c4ecafdb8ea1682d2bb856ee9.tar.gz |
Revert "SERVER-55581: Return ScopedDbConnection to connection pool in cluster aggregate"
This reverts commit b4e064826b951bd9890c0cf62ae3ccc8a73917c0.
-rw-r--r-- | src/mongo/s/commands/cluster_aggregate.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/s/commands/cluster_aggregate.cpp b/src/mongo/s/commands/cluster_aggregate.cpp index e2afbe33481..4a48f8819dd 100644 --- a/src/mongo/s/commands/cluster_aggregate.cpp +++ b/src/mongo/s/commands/cluster_aggregate.cpp @@ -647,7 +647,6 @@ BSONObj getUnshardedCollInfo(const Shard* primaryShard, const NamespaceString& n ScopedDbConnection conn(primaryShard->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(); |