[SERVER-16436] Release stale/unused connections from replication executor pool Created: 05/Dec/14 Updated: 07/Dec/16 Resolved: 10/Mar/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | 2.7.7 |
| Fix Version/s: | 3.1.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | Matt Dannenberg |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | RPL 0 3/13/15 |
| Participants: |
| Description |
|
We cull stale connections on use, but for hosts which aren't used anymore we never cleanup those entries in the pool, or the underlying sockets if still open. This would generally be considered resource leakage... A background job calling NetworkInterfaceImpl::ConnectionPool::cleanUpOlderThan periodically could do this. |
| Comments |
| Comment by Githook User [ 10/Mar/15 ] |
|
Author: {u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}Message: |