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

Add CancellationToken support to NetworkInterfaceTL::startCommand

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • Fully Compatible
    • Networking & Obs 2024-08-19, Networking & Obs 2024-09-02, Networking & Obs 2024-09-16, Networking & Obs 2024-09-30, Networking & Obs 2024-10-14

      With support for CancellationTokens in ConnectionPool (SERVER-92568) and in AsyncDBClient (SERVER-92569), we can now have NetworkInterfaceTL::startCommand pass a CancellationToken down to its asynchronous uses of ConnectionPool and AsyncDBClient. We should also consider whether there are any other places where cancellation should occur in both the exhaust and non-exhaust paths.

            Assignee:
            joseph.prince@mongodb.com Joseph Prince
            Reporter:
            james.bronsted@mongodb.com James Bronsted
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: