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

Prevent hanging on waiting for timeout time #2399

Merged
merged 4 commits into from
Aug 29, 2024
Merged

Conversation

edwardalee
Copy link
Collaborator

This PR fixes a corner case where a federate with decentralized coordination that had no events at the timeout tag and has a large STA would hang even when its upstream federates exit and close the socket connection. The fix is to set the last known tag for input federates to FOREVER_TAG when a socket connection is closed.

It has a companion PR in reactor-c

@edwardalee edwardalee added enhancement Enhancement of existing feature federated labels Aug 9, 2024
@lhstrh lhstrh added bugfix and removed enhancement Enhancement of existing feature labels Aug 9, 2024
@edwardalee edwardalee marked this pull request as ready for review August 10, 2024 10:35
@edwardalee edwardalee requested a review from lhstrh August 10, 2024 13:46
@edwardalee edwardalee added this pull request to the merge queue Aug 29, 2024
Merged via the queue into master with commit c584965 Aug 29, 2024
26 checks passed
@edwardalee edwardalee deleted the decentralized-timeout branch August 29, 2024 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants