Skip to content

Comments

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

Open
jacobtomlinson wants to merge 1 commit intodask:mainfrom
jacobtomlinson:worker-tuple-list
Open

Fix when scheduler returns a tuple instead of a list#951
jacobtomlinson wants to merge 1 commit intodask:mainfrom
jacobtomlinson:worker-tuple-list

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.

@amanfredi
Copy link

Any chance of getting a release with this fix?

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

2 participants