-
Notifications
You must be signed in to change notification settings - Fork 97
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
Move providing responsabilities from bitswap to blockservice #534
Move providing responsabilities from bitswap to blockservice #534
Conversation
Codecov ReportAttention: Patch coverage is
@@ Coverage Diff @@
## revert-bad-sessions-changes #534 +/- ##
===============================================================
- Coverage 65.56% 65.45% -0.12%
===============================================================
Files 207 208 +1
Lines 25597 25511 -86
===============================================================
- Hits 16782 16697 -85
+ Misses 7336 7332 -4
- Partials 1479 1482 +3
|
10aa04b
to
29ff0cc
Compare
Keeps in sync with: - ipfs/boxo#534 - ipfs/boxo#535 - ipfs/boxo#536
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
29ff0cc
to
94be73e
Compare
94be73e
to
ac0f6e0
Compare
ac0f6e0
to
e0d5341
Compare
0912ba3
to
e21efeb
Compare
2b1c552
to
f060dd4
Compare
This brings us to a state before #549 back then I also did cleanup in this session code, that I have kept, I only removed the sessions in context feature.
This allows to recreate the behavior of advertising added blocks the bitswap server used to do.
We always had a very weird relationship between bitswap and providing. Bitswap took care of doing the initial provide and then reprovider did it later. The Bitswap server had a complicated providing workflow where it slurped thing into memory. Reprovide accepts provides and is able to queue them in a database, such as on disk, this is much better. I'll add options to hook initial provide logic from the blockservice to the reprovider queue so consumers don't have to do this themselves.
e21efeb
to
d8d7675
Compare
f060dd4
to
4060154
Compare
Keeps in sync with: - ipfs/boxo#578 - ipfs/boxo#534 - ipfs/boxo#535 - ipfs/boxo#536
d8d7675
to
66da324
Compare
Replaced by #677 |
No description provided.