Skip to content

Object inlines#3097

Merged
roman-khimov merged 8 commits intomasterfrom
object-inlines
Jan 30, 2025
Merged

Object inlines#3097
roman-khimov merged 8 commits intomasterfrom
object-inlines

Conversation

@roman-khimov
Copy link
Member

The last chunk from #3057. Less api-go overall, should be the same functionally.

cthulhu-rider and others added 8 commits January 28, 2025 22:17
Continues b3e19e2. Other ops are going
to be changed the same way in future commits.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
Continues b3e19e2..

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
Continues b3e19e2.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
Continues b3e19e2. All these ops are
very similar, so refactored in one scope.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
Continues b3e19e2. This completes
elimination of the recurrent architecture of object requests' handling.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
Signed-off-by: Roman Khimov <roman@nspcc.ru>
Signed-off-by: Roman Khimov <roman@nspcc.ru>
I have no idea what it means. We're operating in the original request context
and it should be sufficient for now. Additional time-limited subcontexts
can be created, but that's a different problem. If the upper layer exits this
context ends up anyway.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
@codecov
Copy link

codecov bot commented Jan 29, 2025

Codecov Report

Attention: Patch coverage is 0.28708% with 1042 lines in your changes missing coverage. Please review.

Project coverage is 22.49%. Comparing base (b3e19e2) to head (b39930e).
Report is 17 commits behind head on master.

Files with missing lines Patch % Lines
pkg/services/object/server.go 0.30% 989 Missing ⚠️
cmd/neofs-node/object.go 0.00% 30 Missing ⚠️
pkg/services/object/util/prm.go 0.00% 23 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3097      +/-   ##
==========================================
+ Coverage   22.35%   22.49%   +0.13%     
==========================================
  Files         763      752      -11     
  Lines       58645    58417     -228     
==========================================
+ Hits        13110    13140      +30     
+ Misses      44644    44385     -259     
- Partials      891      892       +1     

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

@roman-khimov roman-khimov mentioned this pull request Jan 30, 2025
Copy link
Member

@carpawell carpawell left a comment

Choose a reason for hiding this comment

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

Many many many many TODOs. But it seems to be in a working condition.

if firstErr == nil {
firstErr = err
}
// TODO: log error
Copy link
Member

Choose a reason for hiding this comment

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

todo thing

Copy link
Member Author

Choose a reason for hiding this comment

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


// Storage groups ops of the node's object storage required to serve NeoFS API
// Object service.
type sessions interface {
Copy link
Member

Choose a reason for hiding this comment

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

do not see why it should be a separate private interface

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, not really needed, but we can't delay SDK much.

@roman-khimov roman-khimov merged commit 9285b4f into master Jan 30, 2025
18 of 20 checks passed
@roman-khimov roman-khimov deleted the object-inlines branch January 30, 2025 15:43
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