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

[8.x] Improve handling of failure to create persistent task (#114386) #114523

Merged

Conversation

DaveCTurner
Copy link
Contributor

Backports the following commits to 8.x:

Today if creating a persistent task fails with an exception then we
submit a cluster state update to fail the task but until that update
executes we will retry the failing task creation and cluster state
submission on all other cluster state updates that change the persistent
tasks metadata.

With this commit we register a placeholder task on the executing node to
block further attempts to create it until the cluster state update is
processed.
@DaveCTurner DaveCTurner added :Distributed/Task Management Issues for anything around the Tasks API - both persistent and node level. >bug auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Distributed Meta label for distributed team labels Oct 10, 2024
@elasticsearchmachine elasticsearchmachine merged commit 1dfce84 into elastic:8.x Oct 10, 2024
15 checks passed
@DaveCTurner DaveCTurner deleted the backport/8.x/pr-114386 branch October 10, 2024 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >bug :Distributed/Task Management Issues for anything around the Tasks API - both persistent and node level. Team:Distributed Meta label for distributed team v8.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants