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

Retry making rundirs a few times with randomised exponential backoff #3409

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

benclifford
Copy link
Collaborator

quentin has experienced a glaring race condition in make_rundirs when launching multiple workflows at once.

it's unclear to me why its so bad in his situation, but the race condition exists none-the-less and this PR complicates rundir creation to accept that it might be run multiple times concurrently

I'm a little unsure of what the right initial values for backoff constant should be ... using random.random() means it will extremely small values in some cases

Type of change

  • Bug fix

… launching multiple workflows at once.

it's unclear to me why its *so bad* in his situation, but the race condition exists none-the-less
and this PR complicates rundir creation to accept that it might be run multiple times concurrently
@benclifford benclifford force-pushed the benc-rundir-backoff-retry branch 4 times, most recently from a926912 to 7886dcd Compare May 2, 2024 13:06
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.

None yet

1 participant