[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: |
|
||||||||||||||||||||
| 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: (cherry picked from commit 3eb6f1f4540a9315434341e447fd4b2830211ef6) |
| Comment by Githook User [ 15/Mar/23 ] |
|
Author: {'name': 'George Wangensteen', 'email': 'george.wangensteen@mongodb.com', 'username': 'gewa24'}Message: |