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

Add CancellationToken support to AsyncDBClient

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • Programmability 2024-08-05, Programmability 2024-08-19, Networking & Obs 2024-07-22, Networking & Obs 2024-09-02, Networking & Obs 2024-09-16, Networking & Obs 2024-09-30

      AsyncDBClient's operations can only be cancelled by explicitly invoking AsyncDBClient::cancel. We should extend its various methods to accept CancellationToken to be more in line with how cancellation is performed throughout the rest of the code base. This will also help simplify NetworkInterfaceTL's own cancellation logic.

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

              Created:
              Updated: