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

Introduce connection-leasing from ConnectionPool and NetworkInterface

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0, 6.0.6
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Service Arch
    • Fully Compatible
    • v6.3, v6.0
    • Service Arch 2023-02-20, Service Arch 2023-03-06, Service Arch 2023-03-20

      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. 

            Assignee:
            george.wangensteen@mongodb.com George Wangensteen
            Reporter:
            george.wangensteen@mongodb.com George Wangensteen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: