HelloZeroNet / HelloZeroNet/ZeroNet

Overwriting small file with big file breaks syncing / access to file

Open
#2,152 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
18.8k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

### 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.