Add use of CancellationToken to the TPTE non-exhaust path

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Change the method signature of NetworkInterfaceTL::startCommand to accept a CancellationToken and change ThreadPoolTaskExecutor to cancel commands scheduled on its member NetworkInterfaceTL using a corresponding CancellationSource. SERVER-92816 will eventually connect the CancellationToken to the layers beneath NetworkInterfaceTL; if this ticket is completed before then, the implementation of the cancellation logic in NetworkInterfaceTL can be as simple as invoking cancelCommand.

              Assignee:
              Unassigned
              Reporter:
              James Bronsted
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: