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: flatware hangs if a worker dies #82

Merged
merged 1 commit into from
Mar 20, 2024
Merged

Conversation

briandunn
Copy link
Owner

@briandunn briandunn commented Mar 14, 2024

Implement a fix for the problem described here.

@briandunn briandunn self-assigned this Mar 14, 2024
@briandunn briandunn marked this pull request as ready for review March 19, 2024 16:35
@briandunn briandunn merged commit 85be8f5 into master Mar 20, 2024
48 checks passed

Cleaning up. Please wait...
MESSAGE
end
Copy link

Choose a reason for hiding this comment

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

I'm not sure this is doing what we expect it to do. CLD is an expected signal that happens when a worker gracefully shuts down as well (i.e. when it completes its job). With this current code, I get this output while specs are running:

....................................................................................................................................................................................................................................................
A worker died!

Cleaning up. Please wait...
...........................................

...which I think ends up looking like there's a problem even though there isn't. I think we'd need to differentiate between a worker process terminating with an incomplete job vs. a worker process terminating with a complete job.

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.

2 participants