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

Fix federated ZDC detection algorithm #2477

Merged

Conversation

erlingrj
Copy link
Collaborator

@erlingrj erlingrj commented Mar 7, 2025

Thanks to @byeonggiljun for debugging this. There was a bug in the ZDC detection algorithm where a node is added to the set of visited when we have a delayed connection to it. This made us skip this node later when we had an actual zero-delay connection. The fix is to only add nodes that you actually visit to the visited set.

Fixes #2475

@erlingrj erlingrj linked an issue Mar 7, 2025 that may be closed by this pull request
Copy link
Collaborator

@edwardalee edwardalee left a comment

Choose a reason for hiding this comment

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

Wow, nice catch @byeonggiljun and @erlingrj !

@edwardalee edwardalee added this pull request to the merge queue Mar 7, 2025
Merged via the queue into master with commit 0c503ff Mar 7, 2025
23 checks passed
@edwardalee edwardalee deleted the 2475-deadlock-was-occurred-with-hierarchical-reactor branch March 7, 2025 15:35
@byeonggiljun
Copy link
Collaborator

Thank you so much @erlingrj, for fixing this!

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

Successfully merging this pull request may close these issues.

Deadlock was occurred with hierarchical reactor
3 participants