-
Notifications
You must be signed in to change notification settings - Fork 39
Object inlines #3097
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
Object inlines #3097
Conversation
Continues b3e19e2. Other ops are going to be changed the same way in future commits. Signed-off-by: Leonard Lyubich <[email protected]>
Continues b3e19e2.. Signed-off-by: Leonard Lyubich <[email protected]>
Continues b3e19e2. Signed-off-by: Leonard Lyubich <[email protected]>
Continues b3e19e2. All these ops are very similar, so refactored in one scope. Signed-off-by: Leonard Lyubich <[email protected]>
Continues b3e19e2. This completes elimination of the recurrent architecture of object requests' handling. Signed-off-by: Leonard Lyubich <[email protected]>
Signed-off-by: Roman Khimov <[email protected]>
Signed-off-by: Roman Khimov <[email protected]>
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 <[email protected]>
Codecov ReportAttention: Patch coverage is
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. |
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.
Many many many many TODOs. But it seems to be in a working condition.
if firstErr == nil { | ||
firstErr = err | ||
} | ||
// TODO: log error |
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.
todo thing
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.
@@ -102,13 +105,22 @@ type FSChain interface { | |||
LocalNodeUnderMaintenance() bool | |||
} | |||
|
|||
// Storage groups ops of the node's object storage required to serve NeoFS API | |||
// Object service. | |||
type sessions interface { |
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.
do not see why it should be a separate private interface
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.
Yeah, not really needed, but we can't delay SDK much.
The last chunk from #3057. Less api-go overall, should be the same functionally.