-
Notifications
You must be signed in to change notification settings - Fork 45
EC GET #3497
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
base: master
Are you sure you want to change the base?
EC GET #3497
Conversation
cthulhu-rider
commented
Aug 1, 2025
- based on Implement EC logic in PUT #3457 in terms of format
1a25190
to
340a149
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #3497 +/- ##
==========================================
+ Coverage 25.66% 25.96% +0.30%
==========================================
Files 659 660 +1
Lines 49373 49755 +382
==========================================
+ Hits 12673 12921 +248
- Misses 35694 35799 +105
- Partials 1006 1035 +29 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
17e09c9
to
7f286bf
Compare
689dbc4
to
243ea9c
Compare
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.
Will there be issues for TODOs or some separate PR that fixes them? We once had work that was only related to going through every TODO to fix it or create a new issue for it.
return object.Object{}, nil, errors.New("all nodes failed") | ||
} | ||
|
||
defer rc.Close() |
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.
can this panic in theory, if for
above is empty?
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.
only in theory, if some expectations of behavior are violated
return *parentHdr, nil, nil | ||
} | ||
|
||
buf := make([]byte, partHdr.PayloadSize()) |
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.
can it be gigabytes?
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.
it can be up to MaxObjectSize
net setting
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.
oh, missed that there are part
and parent
headers (confusing naming btw, at least, i misunderstood)
it can be up to MaxObjectSize net setting
ok, but even in this case, is it ok to always allocate so much memory? found TODOs about streaming but isn't it necessary to solve ASAP?
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.
isn't it necessary to solve ASAP
no. And not only due to not yet resolved streaming issue, but cuz decoder can now work in-mem only (#3501)
all TODOs will be resolved later. There are many of them, so i dont wanna create issue for each. Prefer to just have them in code |
Dont mind, just wanted to hear that it is not a final solution and the next iteration will be soon. |
9c520f3
to
d8c4555
Compare
d8c4555
to
3779e74
Compare
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.
Unaddressed TODOs should have corresponding issues.
52f7c5a
to
64bd139
Compare
Follow cd3e5d3 for GET. Closes #3422. Signed-off-by: Leonard Lyubich <[email protected]>
Signed-off-by: Leonard Lyubich <[email protected]>
64bd139
to
db69124
Compare
return object.Object{}, err | ||
} | ||
|
||
fmt.Println(err) |
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.
👀
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.
Except fmt.Println
.