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

Add CancellationToken support to ConnectionPool connection-retrieval methods

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch
    • Fully Compatible
    • Programmability 2024-08-05, Programmability Needs Merge

      Currently, getting a connection from a ConnectionPool can only be cancelled by the caller provided timeout or by shutting down the entire pool. We should augment connection-getting methods to accept CancellationTokens to support cancellation, which will simplify NetworkInterfaceTL's own cancellation logic.

            Assignee:
            james.bronsted@mongodb.com James Bronsted
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: