Optimize cryptography for forwarded GET/HEAD/SEARCH requests#4008
Open
cthulhu-rider wants to merge 2 commits into
Open
Optimize cryptography for forwarded GET/HEAD/SEARCH requests#4008cthulhu-rider wants to merge 2 commits into
cthulhu-rider wants to merge 2 commits into
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #4008 +/- ##
==========================================
- Coverage 27.80% 27.78% -0.03%
==========================================
Files 681 681
Lines 46758 46806 +48
==========================================
+ Hits 13003 13006 +3
- Misses 32517 32558 +41
- Partials 1238 1242 +4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
carpawell
reviewed
Jun 4, 2026
Member
carpawell
left a comment
There was a problem hiding this comment.
First commit has "TBD" body
| }) | ||
| } | ||
|
|
||
| // TODO: double-check following code is required |
Contributor
Author
There was a problem hiding this comment.
this is recent code in which the original request is changed. Therefore, this is not exactly forwarding. So i decided to left behavior for this case as is. But maybe smth can be improved for it
|
|
||
| ### Changed | ||
| - Optimized EC GET request execution (#3996) | ||
| - Optimized GET/HEAD/SEARCH request signing when forwarding by container node (#XXX) |
| GetRequestToInfo(*protoobject.GetRequest) (aclsvc.RequestInfo, bool, error) | ||
| RangeRequestToInfo(*protoobject.GetRangeRequest) (aclsvc.RequestInfo, error) | ||
| SearchV2RequestToInfo(*protoobject.SearchV2Request) (aclsvc.RequestInfo, error) | ||
| SearchV2RequestToInfo(*protoobject.SearchV2Request) (aclsvc.RequestInfo, bool, error) |
Member
There was a problem hiding this comment.
imo, desc should be extended then
Contributor
Author
There was a problem hiding this comment.
by desc u mean aclsvc.RequestInfo?
Recursive signatures are always more heavyweight than simple ones. Thus, it's more efficient to create new read requests from container SN than re-sign the original ones. Refs #3978. Signed-off-by: cthulhurider <ctulhurider@gmail.com>
Signed-off-by: cthulhurider <ctulhurider@gmail.com>
b586591 to
58574ce
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.