[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: |
|
||||||||||||||||||||||||
| 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. |