-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Update to graphsync to v0.10.0, enable seperate storage and retrieval transfer limits #7405
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7405 +/- ##
==========================================
+ Coverage 39.54% 39.59% +0.05%
==========================================
Files 616 616
Lines 65295 65319 +24
==========================================
+ Hits 25818 25863 +45
+ Misses 34980 34968 -12
+ Partials 4497 4488 -9
Continue to review full report at Codecov.
|
(needs a rebase + |
ac6aa50
to
b41a397
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.
@jennijuju: it'd be worth calling out in release notes that SimultaneousTransfers
stops working entirely here and there's no migration or repurposing. If you were using that then you need to update to have both SimultaneousTransfersForStorage
and SimultaneousTransfersForRetrieval
.
also add config changes
b41a397
to
368d72e
Compare
Rebased to current master. We've lost a bit of codecov here and it's red, but it comes back up via #7427 which is on top of this branch. |
Ack! Should we recommend SP to finish/stop all transfers before updating then? |
Oh, I'm not sure about that; I suppose it won't matter, the upgrade will bring better restart functionality as well as these limits, but the change in config options shouldn't be a major change in behaviour, just an annoying config change if it's been configured. Maybe @dirkmc can chime in on this. |
I don't think we need to explicitly ask storage providers to stop data transfers before upgrading |
So when they restart the node with X ongoing transfer, where X > SimultaneousTransfersForStorage, new deals will just be rejected and the previously ongoing transfer can be resumed? |
@jennijuju I don't know the answer to that but I'm assuming that would be correct. Old default is 20, new default is 20, so the only surprises here would be if an SP has changed the number on their end, they would need to set both |
Limit maximum number of DAG links to traverse
Goals
Update go-graphsync v0.10.0
Add support for seperate transfer limits across storage and retrieval, aiming to provide initial solutions for #7276
Blockers:
Implementation
For discussion
Mapping role and deal type to graphsync request type: