-
Notifications
You must be signed in to change notification settings - Fork 44
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
Error out of there's more than 10k parts #639
Comments
@cmoog, how large is the derivation you're uploading? We bumped the default to 32MiB in It'd be nice to have a warning for NARs that would exceed the part limit , but we compress on-the-fly and have no way of knowing the final size of the compressed NAR, unless we just set an arbitrary limit for uncompressed NARs. |
The uncompressed derivation was
Perhaps just a nice error message when partNumber exceeds 10,000 would be helpful– it could include a suggestion to use the flags that you mentioned for controlling chunk size. |
If you don't mind me asking, what are you working on that creates such large derivations? |
A 3rd party proprietary toolchain included inside a system profile. |
@cmoog any success with 1.7? |
Yes, got those pushed with 1.7.3! Thank you. |
When pushing a very large derivation to the cache, it seems cachix may choose a chunk size that results in > 10,000 parts. This results in a
400
response code from S3 upon reachingpartNumber = 10001
.The S3 API specifies.
The text was updated successfully, but these errors were encountered: