-
Notifications
You must be signed in to change notification settings - Fork 380
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
Creation of Zstd:chunked layers seems racy #1979
Comments
this was added before we had something like We may need something like |
Yes — now that we are looking into this area, I just wanted to record that we will need a c/storage API update. That might interact with other changes we may need to make… |
@giuseppe this seems to be a blocker for production use. |
opened a PR for c/storage: containers/storage#1826 |
#2301 has completed the fix. |
Reading the code (not testing this),
image/storage/storage_dest.go
Line 604 in 32e1469
image/storage/storage_dest.go
Line 612 in 32e1469
AFAICS the layer is, in the meantime, visible to other processes, who can find it based on the deterministic “chain ID”, and try to use it, while the contents are missing.
Cc: @giuseppe
The text was updated successfully, but these errors were encountered: