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

Ensure concurrent restarts are not interfering #529

Merged
merged 2 commits into from
Nov 16, 2022
Merged

Conversation

fjetter
Copy link
Member

@fjetter fjetter commented Nov 15, 2022

Explanation why this bypasses the race condition in the comment. See also dask/distributed#7312

Closes #468

@@ -15,7 +15,7 @@ repos:
- id: black
language_version: python3
exclude: ^alembic/versions/
- repo: https://gitlab.com/pycqa/flake8
Copy link
Member Author

Choose a reason for hiding this comment

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

I know this should not be in here. I got weird auth errors when downloading from gitlab. I suggest to just use the github mirror. If requested, I can break this out into another PR

Copy link
Contributor

Choose a reason for hiding this comment

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

it might have been a typo. Should we use
rev: 5.0.4 like we do in dask and distributed.

Copy link
Contributor

Choose a reason for hiding this comment

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

I'll give this a try, hope you don't mind pushing to your PR. If things are green I'll merge this in.

@fjetter
Copy link
Member Author

fjetter commented Nov 15, 2022

Other occurrences of restart should not be affected since this only comes up if we call restart twice in short succession

@ncclementi ncclementi merged commit ffc0fbf into main Nov 16, 2022
@fjetter fjetter deleted the hotfix_dead_workers branch November 16, 2022 12:53
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.

Reconnect times out waiting for workers
2 participants