React more promptly to task cancellation while waiting for the cluster to unblock #117971
Labels
:Distributed Indexing/Distributed
A catch all label for anything in the Distributed Area. Please avoid if you can.
>enhancement
Team:Distributed Indexing
Meta label for Distributed Indexing team
Both in
TransportLocalClusterStateAction
andTransportMasterNodeAction
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 ofCancellableTask#addListener
to react more promptly to task cancellation.Follow-up from #117230 (comment)
The text was updated successfully, but these errors were encountered: