-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Closed
Closed
Copy link
Labels
:Distributed/Task ManagementIssues for anything around the Tasks API - both persistent and node level.Issues for anything around the Tasks API - both persistent and node level.>enhancementTeam:Distributed Coordination (obsolete)Meta label for Distributed Coordination team. Obsolete. Please do not use.Meta label for Distributed Coordination team. Obsolete. Please do not use.
Description
Both in TransportLocalClusterStateAction and TransportMasterNodeAction we wait for the cluster to unblock. Currently, if a task gets cancelled while waiting, we don't send a response until the cluster gets unblocked (which could be arbitrarily far in the future) or until the timeout occurs. We should make use of CancellableTask#addListener to react more promptly to task cancellation.
Follow-up from #117230 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Distributed/Task ManagementIssues for anything around the Tasks API - both persistent and node level.Issues for anything around the Tasks API - both persistent and node level.>enhancementTeam:Distributed Coordination (obsolete)Meta label for Distributed Coordination team. Obsolete. Please do not use.Meta label for Distributed Coordination team. Obsolete. Please do not use.