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

Safe broadcast stop #6763

Merged

Conversation

konradkonrad
Copy link
Contributor

Don't allow the transport to shut down, when broadcast queue has unfinished_tasks

Fixes: #6756 -- this should help generally with the problem of a node being stopped when there are still Monitoring Requests in flight. It does however not secure us against forced shutdowns.

@konradkonrad konradkonrad marked this pull request as ready for review January 7, 2021 14:19
@auto-assign auto-assign bot requested a review from ulope January 7, 2021 14:19
@konradkonrad konradkonrad requested review from karlb and removed request for ulope January 7, 2021 14:19
Copy link
Contributor

@karlb karlb left a comment

Choose a reason for hiding this comment

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

Looks good. The 10s sleeps makes the test slow, but doing it another way would probably make the test less reliable and more complicated.

Can you also push the ms1 scenario without the wait?

@konradkonrad konradkonrad merged commit 3e466b8 into raiden-network:develop Jan 7, 2021
@konradkonrad konradkonrad deleted the safe_broadcast_stop branch January 7, 2021 15:02
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

Successfully merging this pull request may close these issues.

Monitoring Request does not reach MS
2 participants