ethersphere / swarm

Swarm: Censorship resistant storage and communication infrastructure for a truly sovereign digital society
https://swarm.ethereum.org/
GNU Lesser General Public License v3.0
489 stars 112 forks source link

fix conflict between garbage collection and push sync #2204

Closed mortelli closed 4 years ago

mortelli commented 4 years ago

During Global Pinning Phase 3 tests, garbage collection had been usually triggered by uploading 1000 blobs of 4096 bytes to each node. With push sync enabled, this causes each node to chronically output the following error:

localstore push subscription iteration err="leveldb: not found"

This seems to go on indefinitely.

While this behavior is present, trojan chunks have been observed not to reach their destination.

Temporarily, garbage collection is being hacked by stopping all nodes in the network and then deleting the swarm folder for the test nodes.

Find a fix for this issue.

mortelli commented 4 years ago

Solved through #2203.