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

Concurrent runs on same host cause issues with the downloaded .zip file #239

Open
sbyrnes-weblogix opened this issue Nov 8, 2019 · 1 comment

Comments

@sbyrnes-weblogix
Copy link

Is it possible for the download to /tmp to have a unique name (using something like the detetimestamp)

This would help with attempting to isolate these kinds of errors.

I have seen an issue where 2 jobs run on a single host at the same time and one will download the file, the other will also download the file and while the 2nd instance is streaming to the /tmp the first attempts to unzip and causes the file to appear corrupt as its being downloaded.

Thanks

@giggio
Copy link
Owner

giggio commented Nov 8, 2019

Yes, during the download phase, but not at the end, as the name is used for caching. Something would have to be built around it, because at the end we may still end up on a race condition. But we might be able to isolate it so the problem is less frequent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants