-
-
Notifications
You must be signed in to change notification settings - Fork 719
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
Yank state machine out of Worker class #6476
Comments
apparently blocks also acts as a "please close ticket" keyword 🤔 |
Just wanted to leave some words of gratitude and encouragement. It's great to see this move forward; memory leaks and deadlocks due to worker transitions have become a real problem in our production code lately, so your work on this is greatly appreciated! |
I'll have to move distributed/distributed/worker.py Line 2783 in 9b8172b
@fjetter were you expecting this? Do you have an alternative design in mind? |
I'm going to apply the following changes to methods and attributes of Worker. This will potentially break third party code that directly interact with (what we believe is) internal API.
|
This list looks good to me. |
This issue is a tracker for the worker state machine refactor, as described in the wider epic #5736.
In scope for this issue is to yank out all state machine logic from Worker and create two new classes, WorkerState and BaseWorker.
Writing additional unit tests, beyond tweaking the already existing ones, is out of scope.
Contributing PRs:
Blocked by:
Blocked by:
ensure_communicating
transitions to new WorkerState event mechanism #5896Blocked by:
@fail_hard
can kill the whole test suite; hide errors #6474The text was updated successfully, but these errors were encountered: