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

Add use of CancellationToken to the TPTE non-exhaust path

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

      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 Unassigned
            Reporter:
            james.bronsted@mongodb.com James Bronsted
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: