-
Notifications
You must be signed in to change notification settings - Fork 218
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
fix mirror's performance issue #790
Conversation
@sctb512 , a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/26396 |
f2c4517
to
fe99063
Compare
@sctb512 , the title has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/26398 |
@sctb512 , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/26400 |
@sctb512 , the title has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/26401 |
@sctb512 , The CI test is completed, please check result:
Congratulations, your test job passed! |
@sctb512 , The CI test is completed, please check result:
Congratulations, your test job passed! |
@sctb512 , The CI test is completed, please check result:
Congratulations, your test job passed! |
@sctb512 , The CI test is completed, please check result:
Congratulations, your test job passed! |
fe99063
to
c53a910
Compare
@sctb512 , the title has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/26422 |
@sctb512 , The CI test is completed, please check result:
Congratulations, your test job passed! |
c53a910
to
6dc4110
Compare
6dc4110
to
b96cd7c
Compare
@sctb512 , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/26459 |
b96cd7c
to
88ab12d
Compare
@sctb512 , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/26507 |
@sctb512 , The CI test is completed, please check result:
Congratulations, your test job passed! |
@sctb512 , The CI test is completed, please check result:
Congratulations, your test job passed! |
PTAL @imeoer |
if headers.contains_key(HEADER_AUTHORIZATION) { | ||
// Remove HEADER_AUTHORIZATION to get correct response with "www-authenticate" | ||
// when cached_auth is expired. | ||
headers.remove(HEADER_AUTHORIZATION); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hold on for this, discussing it with @sctb512 .
30b492e
to
215768b
Compare
@sctb512 , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/27313 |
@sctb512 , The CI test is completed, please check result:
Congratulations, your test job passed! |
In some scenarios(e.g. P2P/Dragonfly), sending an authorization request to the mirror will cause performance loss. We add parameter auth_through. When auth_through is false, nydusd will directly send non-authorization request to original registry. Signed-off-by: Bin Tang <tangbin.bin@bytedance.com>
215768b
to
6f13ad6
Compare
@sctb512 , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/27332 |
@sctb512 , The CI test is completed, please check result:
Congratulations, your test job passed! |
In some scenarios(e.g. P2P/Dragonfly), sending an authorization request to the mirror will cause performance loss. We add parameter auth_through. When auth_through is false, nydusd will directly send non-authorization request to original registry.
Fixes dragonflyoss/dragonfly#1678
Signed-off-by: Bin Tang tangbin.bin@bytedance.com