Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

bitswap is 'requesting one block at a time' #498

Closed
daviddias opened this issue Sep 15, 2016 · 5 comments
Closed

bitswap is 'requesting one block at a time' #498

daviddias opened this issue Sep 15, 2016 · 5 comments
Assignees
Labels
kind/bug A bug in existing code (including security flaws)

Comments

@daviddias
Copy link
Member

In an experiment to fetch orbit (700Mb), js-ipfs hung at 650KiB, checking bitswap wantlist showed that bitswap is only requesting a block at a time.

image

@daviddias daviddias added the kind/bug A bug in existing code (including security flaws) label Sep 15, 2016
@dignifiedquire dignifiedquire self-assigned this Sep 16, 2016
@dignifiedquire
Copy link
Member

Working on this, including some fixes need to be made to files.get

@dignifiedquire
Copy link
Member

dignifiedquire commented Sep 16, 2016

Short update while I am head down in this:

@dignifiedquire
Copy link
Member

Found some more details.

  • Sometimes js-ipfs will request a hash from go-ipfs that go-ipfs does not know about, even though the whole requested object was added on go-ipfs, so where are those coming from?

@dignifiedquire
Copy link
Member

Most of the time, it will just stop, with one or two entries in the wantlist and never receive them from go-ipfs, even though the entry is in the wantlist from go

@daviddias daviddias self-assigned this Oct 30, 2016
@daviddias daviddias added status/in-progress In progress and removed milestone 2 labels Oct 30, 2016
@daviddias daviddias added status/ready Ready to be worked and removed status/in-progress In progress labels Dec 5, 2016
@dignifiedquire
Copy link
Member

Not a bug in bitswap anymore. For details on interop transfer issues see: libp2p/js-libp2p-spdy#48

@dignifiedquire dignifiedquire removed the status/ready Ready to be worked label Dec 25, 2016
MicrowaveDev pushed a commit to galtproject/js-ipfs that referenced this issue May 22, 2020
* chore(package): update aegir to version 20.0.0

* chore: appease linter

License: MIT
Signed-off-by: Alan Shaw <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug A bug in existing code (including security flaws)
Projects
None yet
Development

No branches or pull requests

2 participants