-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
TestFetchGraph failing randomly #4062
Comments
This appears to be happening more often... |
So, this is definitely a bug, not just a racy test.
|
So much for it being They could both be buggy... |
Not Also, I'm pretty sure the bug is not in |
So... bitswap is notifying bitswap sessions about blocks before adding them to the blockstore. We really need to clean up this logic. (actually, bitswap notifies the session about the block twice, once before adding it to the blockstore and once after because bitswap is special). |
As a matter of fact, we had a race condition where we could end up returning a block to the user while bitswap was closing and never record the block in the blockstore. |
…sessions. fixes #4062 (yay!) License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
very occasionally we get a failure in TestFetchGraph: https://ci.ipfs.team/blue/organizations/jenkins/go-ipfs/detail/PR-4047/57/pipeline/
This is likely a bug in FetchGraph or EnumerateChildren, definitely needs looking into.
The text was updated successfully, but these errors were encountered: