Skip to content

Conversation

@DaveCTurner
Copy link
Contributor

Today we rely on an isRunning check to check for task cancellation,
but since #82685 we can actively record the failure arising from the
cancellation using a CancellationListener.

Closes #101197

Today we rely on an `isRunning` check to check for task cancellation,
but since elastic#82685 we can actively record the failure arising from the
cancellation using a `CancellationListener`.

Closes elastic#101197
@DaveCTurner DaveCTurner added >non-issue :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs v8.12.0 labels Oct 23, 2023
@DaveCTurner DaveCTurner requested a review from ywangd October 23, 2023 13:33
@elasticsearchmachine elasticsearchmachine added the Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. label Oct 23, 2023
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

Copy link
Member

@ywangd ywangd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@DaveCTurner DaveCTurner merged commit b714549 into elastic:main Oct 24, 2023
@DaveCTurner DaveCTurner deleted the 2023/10/23/repo-analysis-cancellation branch October 24, 2023 09:59
@DaveCTurner DaveCTurner restored the 2023/10/23/repo-analysis-cancellation branch June 17, 2024 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >non-issue Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. v8.12.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RepositoryAnalyzeAction.AsyncAction#isRunning should not check for cancellation

3 participants