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

Ensure unregister child node if failed to register task #56254

Merged
merged 6 commits into from
May 6, 2020

Conversation

dnhatn
Copy link
Member

@dnhatn dnhatn commented May 5, 2020

We fail to unregister the child node in registerAndExecute if the parent task is being canceled. This leads to a bug where a cancel request never completes.

Closes #55875
Relates #54312

I labelled this non-issue for an unreleased bug in #54312.

@dnhatn dnhatn added >non-issue :Distributed Coordination/Task Management Issues for anything around the Tasks API - both persistent and node level. v8.0.0 v7.8.0 labels May 5, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (:Distributed/Task Management)

@elasticmachine elasticmachine added the Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. label May 5, 2020
@dnhatn
Copy link
Member Author

dnhatn commented May 6, 2020

@elasticmachine test this please

@pugnascotia pugnascotia added v7.8.1 and removed v7.8.0 labels May 6, 2020
Copy link
Contributor

@henningandersen henningandersen left a comment

Choose a reason for hiding this comment

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

LGTM.

@pugnascotia pugnascotia added v7.9.0 and removed v7.8.1 labels May 6, 2020
@dnhatn
Copy link
Member Author

dnhatn commented May 6, 2020

@elasticmachine update branch

@elasticmachine
Copy link
Collaborator

user doesn't have permission to update head repository

@dnhatn
Copy link
Member Author

dnhatn commented May 6, 2020

Thanks Henning.

@dnhatn dnhatn merged commit 7b799c6 into elastic:master May 6, 2020
@dnhatn dnhatn deleted the unregister-child-node branch May 6, 2020 21:50
dnhatn added a commit to dnhatn/elasticsearch that referenced this pull request May 6, 2020
We fail to unregister the child node in registerAndExecute if the parent
task is being canceled. This leads to a bug where a cancel request never
completes.

Closes elastic#55875
Relates elastic#54312
dnhatn added a commit that referenced this pull request May 7, 2020
We fail to unregister the child node in registerAndExecute if the parent
task is being canceled. This leads to a bug where a cancel request never
completes.

Closes #55875
Relates #54312
dnhatn added a commit that referenced this pull request May 7, 2020
We fail to unregister the child node in registerAndExecute if the parent
task is being canceled. This leads to a bug where a cancel request never
completes.

Closes #55875
Relates #54312
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Distributed Coordination/Task Management Issues for anything around the Tasks API - both persistent and node level. Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. v7.8.1 v7.9.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] org.elasticsearch.action.admin.cluster.node.tasks.CancellableTasksIT.testDoNotWaitForCompletion
5 participants