ipfs / ipfs/kubo

Only partially able to read file through ipns mount

Open
#5,328 35 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
17.1k
Forks
3.2k
Avg merge
3d 18h
Merged PRs (30d)
11

Description

#### Version information:

go-ipfs version: 0.4.18-dev-4bca53e
Repo version: 7
System version: amd64/linux
Golang version: go1.10

#### Type:

Bug

#### Description:

I created a text file (size 300MB) with random ascii characters using the following command:
base64 /dev/urandom | head -c 300000000 > file.txt
Added this text file to /ipns mount on the machine

On another machine, I tried reading a third of the file using head:
head -c 1000000 /ipns/QmezBPmm4RRBRTBYPhVHsSSAPS2Q8hRTDd3PrfTsG8yvnf/file.txt

This command prints some number of lines and then gets stuck permanently.
Using debugging log, the following line is repeated "10:42:23.157 DEBUG bitswap: 9 keys in bitswap wantlist workers.go:185"

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.