Skip to content

Ensure concurrent restarts are not interfering#529

Merged
ncclementi merged 2 commits intomainfrom
hotfix_dead_workers
Nov 16, 2022
Merged

Ensure concurrent restarts are not interfering#529
ncclementi merged 2 commits intomainfrom
hotfix_dead_workers

Conversation

@fjetter
Copy link
Copy Markdown
Contributor

@fjetter fjetter commented Nov 15, 2022

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

Closes #468

- id: black
language_version: python3
exclude: ^alembic/versions/
- repo: https://gitlab.com/pycqa/flake8
Copy link
Copy Markdown
Contributor 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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor 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