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

clairctl: warn when range requests are not honored #2031

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

freedge
Copy link

@freedge freedge commented Apr 10, 2024

As discussed in #2029 the manifest generation is efficient only when HTTP "Range: bytes=0-0" header is well supported by the server. If not, the server might return the full layer, making the manifest generation very expensive.

We warn the user in case their HTTP server does not support HTTP range requests.

@freedge freedge requested a review from a team as a code owner April 10, 2024 06:39
@freedge freedge requested review from hdonnay and removed request for a team April 10, 2024 06:39
@app-sre-bot
Copy link
Collaborator

Can one of the admins verify this patch?

@hdonnay
Copy link
Member

hdonnay commented Apr 10, 2024

LGTM, will rebase and merge.

As discussed in quay#2029 the manifest
generation is efficient only when HTTP "Range: bytes=0-0" header is well
supported by the server. If not, the server might return the full layer,
making the manifest generation very expensive.

We warn the user in case their HTTP server does not support HTTP range
requests.

Signed-off-by: François Rigault <[email protected]>
Copy link
Member

@hdonnay hdonnay left a comment

Choose a reason for hiding this comment

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

LGTM

/fast-forward

@hdonnay
Copy link
Member

hdonnay commented Apr 10, 2024

Weird that there's a permissions issue on the approval comment fast-forward...

/fast-forward

@github-actions github-actions bot merged commit 13acc58 into quay:main Apr 10, 2024
8 of 9 checks passed
@hdonnay hdonnay linked an issue Apr 10, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

clairctl: warn when server is not honoring range requests
4 participants