[SERVER-73610] Introduce connection-leasing from ConnectionPool and NetworkInterface Created: 03/Feb/23  Updated: 29/Oct/23  Resolved: 16/Mar/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0, 6.0.6

Type: Task Priority: Major - P3
Reporter: George Wangensteen Assignee: George Wangensteen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-73609 Let PinnedConnectionTaskExecutor acqu... Closed
Documented
is documented by DOCS-16026 [Server] Investigate changes in SERVE... Closed
Assigned Teams:
Service Arch
Backwards Compatibility: Fully Compatible
Backport Requested:
v6.3, v6.0
Sprint: Service Arch 2023-02-20, Service Arch 2023-03-06, Service Arch 2023-03-20
Participants:

 Description   

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. 



 Comments   
Comment by Githook User [ 12/Apr/23 ]

Author:

{'name': 'George Wangensteen', 'email': 'george.wangensteen@mongodb.com', 'username': 'gewa24'}

Message: SERVER-73610 Introduce Connection-Leasing from ConnectionPool and NetworkInterface

(cherry picked from commit 3eb6f1f4540a9315434341e447fd4b2830211ef6)
Branch: v6.0
https://github.com/mongodb/mongo/commit/1a6650b6776c2c7cea2e86fe97a7432e801b124b

Comment by Githook User [ 15/Mar/23 ]

Author:

{'name': 'George Wangensteen', 'email': 'george.wangensteen@mongodb.com', 'username': 'gewa24'}

Message: SERVER-73610 Introduce Connection-Leasing from ConnectionPool and NetworkInterface
Branch: master
https://github.com/mongodb/mongo/commit/3eb6f1f4540a9315434341e447fd4b2830211ef6

Generated at Thu Feb 08 06:25:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.