Skip to content

Conversation

@dnhatn
Copy link
Member

@dnhatn dnhatn commented May 14, 2020

We need to use a ConcurrentSet to track the canceled tasks as cancelTaskAndDescendants can be called concurrently.

Closes #56746

@dnhatn dnhatn added >test-failure Triaged test failures from CI :Distributed Coordination/Task Management Issues for anything around the Tasks API - both persistent and node level. v8.0.0 v7.9.0 labels May 14, 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 14, 2020
@dnhatn dnhatn added >test Issues or PRs that are addressing/adding tests and removed >test-failure Triaged test failures from CI labels May 14, 2020
Copy link
Contributor

@original-brownbear original-brownbear left a comment

Choose a reason for hiding this comment

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

LGTM!

@dnhatn
Copy link
Member Author

dnhatn commented May 14, 2020

Thanks Armin!

@dnhatn dnhatn merged commit 2e13702 into elastic:master May 14, 2020
@dnhatn dnhatn deleted the fix-tracking-task branch May 14, 2020 16:12
dnhatn added a commit that referenced this pull request May 14, 2020
dnhatn added a commit that referenced this pull request May 14, 2020
We need to use a ConcurrentSet to track the canceled tasks
as cancelTaskAndDescendants can be called concurrently.

Closes #56746
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

: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. >test Issues or PRs that are addressing/adding tests v7.9.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] TaskManagerTests#testTrackingChannelTask

4 participants