[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: SERVER-16436 cleanup unused connections in the NetworkInterface's ConenctionPool
Branch: master
https://github.com/mongodb/mongo/commit/1b64013e01d1af85f9fb49daa565e8dded2c52a3

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