Skip to content

Fix when scheduler returns a tuple instead of a list #951

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jacobtomlinson
Copy link
Member

Closes #950

Looks like the distributed scheduler has started intermittently returning a tuple instead of a list when calling the workers_to_close() RPC method.

There is an assertion in dask-kubernetes that was added as part of some type narrowing in #881. This fails when the method returns a tuple. This PR works around this by converting tuples to lists.

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.

Workers dead suddenly due to scheduler RPC bad response to workers_to_close
1 participant