Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-16436

Release stale/unused connections from replication executor pool

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.0
    • Affects Version/s: 2.7.7
    • Component/s: Replication
    • None
    • Fully Compatible
    • RPL 0 3/13/15

      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.

            Assignee:
            matt.dannenberg Matt Dannenberg
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: