Modify the ConnectionPool to allow connections to be "leased" from it. "Leasing" a connection from the pool should be just like the ordinary checking-out of a connection from the pool, but the connection pool's metrics and tracking should not assume that these connections are in active use for the duration of their lease, and should be exempted from related metrics.
Then, extend the NetworkInterface API to allow users to lease a connection from it's underlying pool.
- is depended on by
-
SERVER-73609 Let PinnedConnectionTaskExecutor acquire transport connections from the NetworkInterface it uses
- Closed