-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Distributed Coordination/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 (Obsolete)Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.
Description
Task cancellation works by having the task poll the cancellation flag whenever it is convenient to do so. In some cases the convenient times might be separated by a very long interval, so even if the task is cancelled it still runs for a while and appears in the output of the tasks API. Today we don't expose the cancellation flag in the tasks API so users cannot tell whether any given task has already been cancelled, which can be frustrating.
The tasks API should include a "cancelled": true flag on tasks that have been cancelled.
Splitting this idea out from the more general #67505 to clarify the action needed.
Leaf-Lin and jtibshirani
Metadata
Metadata
Assignees
Labels
:Distributed Coordination/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 (Obsolete)Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.