Skip to content
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

Weird behaviour in bitswap with FindProviders #791

Closed
whyrusleeping opened this issue Feb 18, 2015 · 1 comment
Closed

Weird behaviour in bitswap with FindProviders #791

whyrusleeping opened this issue Feb 18, 2015 · 1 comment
Assignees
Labels
kind/bug A bug in existing code (including security flaws) need/verification This issue needs verification topic/bitswap Topic bitswap topic/libp2p Topic libp2p

Comments

@whyrusleeping
Copy link
Member

Im seeing the following logs (my own, for debugging)

21:32:19.561 ERROR        dht: FIND PROVIDERSQmT75yFYHxmW3WBnuzxZZTXGPeBbLuZyvA4M39jPzgUspS <autogenerated>:24
21:32:29.566 ERROR        dht: FIND PROVIDERSQmT75yFYHxmW3WBnuzxZZTXGPeBbLuZyvA4M39jPzgUspS <autogenerated>:24
21:32:29.591 ERROR        dht: GOT PROVIDER <peer.ID QmWhYr> 2 <autogenerated>:24
21:32:29.656 ERROR        dht: GOT PROVIDER <peer.ID QmWhYr> 2 <autogenerated>:24

What this shows, is a FindProviders request for some block, then ten seconds later, bitswap 'ticks' and reruns FindProviders for that same block, and immediately both calls receive a provider (immediately = ~30ms, <<< message RTT).

Im filing this issue just for the record, ill be looking into this today.

@whyrusleeping whyrusleeping added kind/bug A bug in existing code (including security flaws) topic/bitswap Topic bitswap topic/libp2p Topic libp2p labels Feb 18, 2015
@whyrusleeping whyrusleeping self-assigned this Feb 18, 2015
@whyrusleeping
Copy link
Member Author

Ill verify

@whyrusleeping whyrusleeping added the need/verification This issue needs verification label Mar 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws) need/verification This issue needs verification topic/bitswap Topic bitswap topic/libp2p Topic libp2p
Projects
None yet
Development

No branches or pull requests

1 participant