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

Daisy Create GCS Bucket is not idempotent. #1372

Open
jeremyje opened this issue Sep 23, 2020 · 0 comments
Open

Daisy Create GCS Bucket is not idempotent. #1372

jeremyje opened this issue Sep 23, 2020 · 0 comments

Comments

@jeremyje
Copy link

If you run Daisy for the first time in parallel it'll crash because the create bucket is not idempotent.

if err := client.Bucket(dBkt).Create(ctx, project, nil); err != nil {

Basically if you get the following error it should proceed anyways because the bucket was created between the get-create sequence.

OUR_DAISY_WORKFLOW_NAME: error populating workflow: APIError: googleapi: Error 409: You already own this bucket. Please select another name., conflict

This looks like a problem in various parts of the codebase.

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

No branches or pull requests

1 participant