Skip to content

Optimize cryptography for forwarded GET/HEAD/SEARCH requests#4008

Merged
cthulhu-rider merged 2 commits into
masterfrom
object-get-forward-crypto
Jun 15, 2026
Merged

Optimize cryptography for forwarded GET/HEAD/SEARCH requests#4008
cthulhu-rider merged 2 commits into
masterfrom
object-get-forward-crypto

Conversation

@cthulhu-rider

Copy link
Copy Markdown
Contributor

No description provided.

@codecov

codecov Bot commented Jun 3, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 48.03922% with 53 lines in your changes missing coverage. Please review.
✅ Project coverage is 27.72%. Comparing base (3cfcb9c) to head (cafcaab).

Files with missing lines Patch % Lines
pkg/services/object/server.go 34.92% 38 Missing and 3 partials ⚠️
pkg/services/object/acl/v2/service.go 62.06% 8 Missing and 3 partials ⚠️
cmd/neofs-node/object.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4008      +/-   ##
==========================================
- Coverage   27.73%   27.72%   -0.01%     
==========================================
  Files         681      681              
  Lines       46924    46972      +48     
==========================================
+ Hits        13015    13024       +9     
- Misses      32667    32705      +38     
- Partials     1242     1243       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cthulhu-rider cthulhu-rider marked this pull request as ready for review June 3, 2026 15:11

@carpawell carpawell left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

First commit has "TBD" body

Comment thread pkg/services/object/server.go
Comment thread CHANGELOG.md Outdated
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)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

imo, desc should be extended then

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

by desc u mean aclsvc.RequestInfo?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

interface, bool arg always confuse

@cthulhu-rider cthulhu-rider force-pushed the object-get-forward-crypto branch from b586591 to 58574ce Compare June 5, 2026 13:32
Comment thread pkg/services/object/acl/v2/service.go
Comment thread pkg/services/object/server.go
@cthulhu-rider cthulhu-rider force-pushed the object-get-forward-crypto branch from 58574ce to 67b7b32 Compare June 10, 2026 16:35

@roman-khimov roman-khimov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Conflicts.

@roman-khimov

Copy link
Copy Markdown
Member

BTW, authorship needs to be fixed as well.

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: Leonard Liubich <leonard@morphbits.io>
Signed-off-by: Leonard Liubich <leonard@morphbits.io>
@cthulhu-rider cthulhu-rider force-pushed the object-get-forward-crypto branch from 67b7b32 to cafcaab Compare June 15, 2026 08:33
@cthulhu-rider cthulhu-rider merged commit 821671f into master Jun 15, 2026
22 checks passed
@cthulhu-rider cthulhu-rider deleted the object-get-forward-crypto branch June 15, 2026 09:14
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.

3 participants