anacrolix / anacrolix/torrent

Small torrents with sparse seeding not completing

未关闭
#934 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
6.1k
派生
690
平均合并
3 天 10 小时
30 天内合并 PR
12

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。