[SERVER-7629] Make DBClientReplicaSet draw connections from a pool Created: 12/Nov/12  Updated: 30/Jun/14  Resolved: 30/Jun/14

Status: Closed
Project: Core Server
Component/s: Internal Client
Affects Version/s: 2.3.1
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Randolph Tan Assignee: Unassigned
Resolution: Duplicate Votes: 1
Labels: cxxcopy
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-9984 MongoS spawns new connections to seco... Closed
Duplicate
duplicates SERVER-9788 mongos does not re-evaluate read pref... Closed
Related
is related to SERVER-4706 when a socket between mongos and mong... Closed
Participants:

 Description   

DBClientReplicaSet currently manages it's own connections to the replica set members. And because of this, the connections used by each DBClientRS are visible, making it hard for other objects to reuse the same connections when they are idle, and makes it hard for mongos to take account of all the outgoing connections. This setup also causes the DBClientRS to create and destroy more connections more than it should if it were using a connection pool.


Generated at Thu Feb 08 03:15:06 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.