generated from ipfs/ipfs-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 95
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
chore: import go-bitswap #6
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This commit was moved from ipfs/go-bitswap@f74c469
This commit was moved from ipfs/go-bitswap@e12b69e
fix: races in tests This commit was moved from ipfs/go-bitswap@159748c
This commit was moved from ipfs/go-bitswap@916da78
This commit was moved from ipfs/go-bitswap@2112d90
This commit was moved from ipfs/go-bitswap@33443d7
This commit was moved from ipfs/go-bitswap@22f0c79
into fix/prune-dont-have This commit was moved from ipfs/go-bitswap@44ae8f1
This commit was moved from ipfs/go-bitswap@cc1224e
This commit was moved from ipfs/go-bitswap@2e60342
This commit was moved from ipfs/go-bitswap@568a984
Be less aggressive when pruning peers from session This commit was moved from ipfs/go-bitswap@418d88c
This commit was moved from ipfs/go-bitswap@bdd4629
This commit was moved from ipfs/go-bitswap@dbb73a6
This commit was moved from ipfs/go-bitswap@964888c
This commit was moved from ipfs/go-bitswap@f8ed752
…eers Simulate DONT_HAVE when peer doesn't respond to want-block (new peers) This commit was moved from ipfs/go-bitswap@3a82e57
We use these outside of bitswap for testing. This commit was moved from ipfs/go-bitswap@b58f8fc
fix: re-export testinstance/testnet This commit was moved from ipfs/go-bitswap@de62939
This commit was moved from ipfs/go-bitswap@5a742ad
…ontHaveTimeoutMgrTimeout fix flaky TestDontHaveTimeoutMgrTimeout This commit was moved from ipfs/go-bitswap@df360b3
This commit was moved from ipfs/go-bitswap@b83a609
This commit was moved from ipfs/go-bitswap@73261ec
This commit was moved from ipfs/go-bitswap@0945c26
…itingRequests fix flaky TestRateLimitingRequests This commit was moved from ipfs/go-bitswap@12021fa
This commit was moved from ipfs/go-bitswap@5c18cf5
…t-wants Fix order of session broadcast wants This commit was moved from ipfs/go-bitswap@cd14e70
This commit was moved from ipfs/go-bitswap@ddf64ae
This commit was moved from ipfs/go-bitswap@cee7d2d
Clean up logs This commit was moved from ipfs/go-bitswap@bced0f3
This commit was moved from ipfs/go-bitswap@35b5af9
* feat: batch and queue connection event handling * address feedback * fix: mark responsive on new connection This commit was moved from ipfs/go-bitswap@a06a9ea
This adds tracing spans to the costly Bitswap entry points. It doesn't instrument the bitswap internals, which will take some time. In go-ipfs, this will at least let us know the contribution of Bitswap to the overall request handling time. This also plumbs contexts through internally so that they reach the content routing APIs, so that traces are propagated through and we can start instrumenting e.g. the DHT. This commit was moved from ipfs/go-bitswap@b18a91d
This commit was moved from ipfs/go-bitswap@a02a3be
Remove dependency on travis package from go-libp2p-testing This commit was moved from ipfs/go-bitswap@8497368
This commit was moved from ipfs/go-bitswap@5ffb3ec
This leave the responsibility and choice to do so to the caller, typically go-blockservice. This has several benefit: - untangle the code - allow to use an exchange as pure block retrieval - avoid double add Close ipfs/kubo#7956 This commit was moved from ipfs/go-bitswap@a052ec9
This commit was moved from ipfs/go-bitswap@9bbccf8
Don't add blocks to the datastore This commit was moved from ipfs/go-bitswap@1d1c6bf
This commit was moved from ipfs/go-bitswap@4fcd291
This commit was moved from ipfs/go-bitswap@8a75bc2
This commit was moved from ipfs/go-bitswap@696d69d
This test is exceptionally racy and IMO useless (you can go read the 10 lines of code making up tracing and convaince yourself it's working.) This commit was moved from ipfs/go-bitswap@1ac4824
This commit was moved from ipfs/go-bitswap@81393bc
This commit was moved from ipfs/go-bitswap@ab72e8e
This commit was moved from ipfs/go-bitswap@b8fd335
feat: split client and server This commit was moved from ipfs/go-bitswap@5b013e0
This remove the github.com/libp2p/go-libp2p-loggables because AFAIT this is not usefull anymore (we use tracing now). If people care about uuids in logs, we should log sessions in go-log instead. This commit was moved from ipfs/go-bitswap@475c27c
This commit was moved from ipfs/go-bitswap@64bf4e9
This commit was moved from ipfs/go-bitswap@1ccd151
Fixes #584 This commit was moved from ipfs/go-bitswap@2545a3f
guseggert
pushed a commit
that referenced
this pull request
Dec 6, 2022
This commit was moved from ipfs/go-detect-race@87f8aa9
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Note there are flaky tests in go-bitswap that have been ignored for a long time. These will get more painful with this change because we'll be running them more often.
IMO forcing ourselves to deal w/ the pain of these flaky tests is the only way to actually fix them, as "good intentions" haven't worked for a long time here.
Corresponding PR wiring this change into Kubo: ipfs/kubo#9424
Todo: