-
Notifications
You must be signed in to change notification settings - Fork 924
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
!feat(share/p2p/shrex-nd): rework shrex-nd to serve data in multiple messages #2444
!feat(share/p2p/shrex-nd): rework shrex-nd to serve data in multiple messages #2444
Conversation
c5d3a36
to
1de84ac
Compare
Codecov Report
@@ Coverage Diff @@
## main #2444 +/- ##
==========================================
- Coverage 53.12% 53.08% -0.04%
==========================================
Files 156 156
Lines 9907 9916 +9
==========================================
+ Hits 5263 5264 +1
- Misses 4188 4193 +5
- Partials 456 459 +3
|
1f54ab8
to
2154cc5
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.
Ideally we also get a test from the BlobModule-level to ensure this really fixes the issue e2e
share/p2p/shrexnd/client.go
Outdated
} | ||
|
||
return c.convertResponse(ctx, resp) | ||
return c.convertStatusToErr(ctx, resp.Status) | ||
} | ||
|
||
// convertToNamespacedShares converts proto Rows to share.NamespacedShares |
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.
godoc
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 are some issues with go mod for app I think.
e2e3bfc
to
2209c34
Compare
bca4979
to
d60356e
Compare
The merge-base changed after approval.
d60356e
to
0608cb2
Compare
c8fd9e9
to
054f5c7
Compare
5929be2
to
ee96f10
Compare
ee96f10
to
732704e
Compare
Overview
shrex-nd protocol is limited to send messages with max size of 1mb. PR modifies shrex-nd protocol to stream namespace data row by row. Next time we will have msg size problem after ods size > 2048.
Resolves #2419