Small torrents with sparse seeding not completing
- Dominant language
- Go
- Stars
- 6.1k
- Forks
- 690
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 12
Description
On testing the latest releases of Erigon over the past few months we've noticed that it's download phase, which downloads historic blockchain state across bittorrent stops at 99.999% complete.
We've discovered this is becuase a number 1-6 small torrents which have data on webseeds but not many torrent peers stop indefinately and hence prevent the completion of the torrent download.
We're building with v1.54.1 and go 1.20.
On investigation I've discovered that the torrents that don't download are ignoring their webseeds on initial download and becuase the webseeds never retry getting requests they will remain failed forever.
I have added a PR https://github.com/anacrolix/torrent/pull/932 to the mater branch which fixes this.
I have tested with a local patch of v1.54.1 and this seems to fix the issue.
I've noticed that the current master is building with go 1.22 and also has changes for V2 bittorrent which mean an interface change.
Ideally it would be great for us if this change could be merged to 1.54 or 1.55 so we can have a non breaking fix.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.