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

Add OCI-Chunk-Min-Length header #391

Merged
merged 1 commit into from
Mar 17, 2023

Conversation

sudo-bmitch
Copy link
Contributor

This should fix #374. It adds a new OCI-Chunk-Min-Bytes header on the blob POST method response. This allows the client to push chunks of at least that size, which is needed for some S3 backends.

conformance/setup.go Outdated Show resolved Hide resolved
@sudo-bmitch sudo-bmitch force-pushed the pr-chunk-min-size branch 2 times, most recently from 89e6342 to 5a465f1 Compare March 15, 2023 14:57
@sudo-bmitch sudo-bmitch marked this pull request as ready for review March 15, 2023 17:58
Copy link
Member

@mikebrow mikebrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comment and a question on remainder less than min..

spec.md Outdated Show resolved Hide resolved
spec.md Outdated Show resolved Hide resolved
jdolitsky
jdolitsky previously approved these changes Mar 16, 2023
Signed-off-by: Brandon Mitchell <git@bmitch.net>
Copy link
Member

@mikebrow mikebrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sudo-bmitch sudo-bmitch changed the title Add OCI-Chunk-Min-Bytes header Add OCI-Chunk-Min-Length header Mar 16, 2023
@sudo-bmitch
Copy link
Contributor Author

@jay-dee7 any concerns with the latest changes? If not, I'll merge this.

@jay-dee7
Copy link

@sudo-bmitch I'm super happy and excited about this change. Please merge it :) and thanks a ton for getting this done the entire OCI team ❤️ ❤️

@sudo-bmitch sudo-bmitch merged commit 2c8ec1a into opencontainers:main Mar 17, 2023
@sudo-bmitch sudo-bmitch deleted the pr-chunk-min-size branch March 17, 2023 11:35
@jdolitsky jdolitsky mentioned this pull request Apr 19, 2023
@sudo-bmitch sudo-bmitch mentioned this pull request Feb 1, 2024
8 tasks
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.

Option to set custom layer size via environment variables
4 participants