Skip to content

Cancel task (and descendants) if its originating transport request times out #66992

Open

Description

If a sender sets a timeout on a transport request and does not receive a response in time then today we make no attempt to inform the receiver that we no longer care about its response. This is particularly bad for stats requests that may be timing out on one broken node, but still continue to pile up there since that node has no way to know that these requests are now irrelevant and should not be processed.

A couple of possible solutions spring to mind:

  • When the sender times out it could sends a task cancellation request to the receiver.

  • The sender could indicate the timeout to the receiver, which could then implement its own local timeout-and-cancel behaviour.

Relates #60188, #52616, #51992.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions