Skip to content

Weird behaviour in bitswap with FindProviders #791

Closed

Description

@whyrusleeping

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.

Activity

  1. whyrusleeping commented on Mar 28, 2015

    @whyrusleeping
    MemberAuthor

    Ill verify

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/bugA bug in existing code (including security flaws)need/verificationThis issue needs verificationtopic/bitswapTopic bitswaptopic/libp2pTopic libp2p

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions