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

Add judging condition for function areAlreadyProcessed #35

Open
Jerry-SEU opened this issue Aug 4, 2023 · 1 comment
Open

Add judging condition for function areAlreadyProcessed #35

Jerry-SEU opened this issue Aug 4, 2023 · 1 comment

Comments

@Jerry-SEU
Copy link

Hello!
I use DExecutor for task scheduling, and I find that in some case, one node is skiped, but it's out coming node will still be executed. After debug for hours, I find that modifing the code here may be helpful.
I changed this place to "return this.processedNodes.stream().filter(Node::isSuccess).collect(Collectors.toSet()).containsAll(nodes);",and it worked.

return this.processedNodes.containsAll(nodes);

@mnadeem
Copy link
Member

mnadeem commented Sep 17, 2023

Please create a pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants