HelloZeroNet / HelloZeroNet/ZeroNet
Overwriting small file with big file breaks syncing / access to file
- 主要语言
- JavaScript
- 星标
- 18.8k
- 派生
- 2.3k
- PR 合并指标
- 30 天内没有已合并 PR
描述
### Step 1: Please describe your environment
* ZeroNet version: latest py3
* Operating system: Debian
### Step 2: Describe the problem:
Replacing a file which was fitting "small file limit" with a file that doesn't leads to file being unavailable on other nodes (at least on proxies). No `.piecemap.msgpack` is generated, even after deleting the file, signing changes and bringing it back; so i suspect that's the cause of the problem on remote nodes.
#### Steps to reproduce:
1. Add small optional file (lets say "file.bin") to a site and sign changes
2. Replace small "file.bin" with a big "file.bin" and sign changes
3. Try to access "file.bin" from other nodes
Proxies result in either time out or not found error
贡献指南
这个仓库没有索引到贡献指南
调研方向
Reproduce the three listed steps on ZeroNet latest py3 under Debian, then compare the small-to-large replacement with a normal large-file addition. Start by tracing how file replacement, signing changes, and .piecemap.msgpack generation interact; done means the replaced file is available from other nodes and proxies without timeouts or not-found errors.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- distributed-systems
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100