Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve cancellation in repo analysis #101213

Merged

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
@elasticsearchmachine elasticsearchmachine added the Team:Distributed Meta label for distributed team (obsolete) 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
12 checks passed
@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 Meta label for distributed team (obsolete) 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