maticnetwork / bor

Official repository for the Polygon Blockchain
https://polygon.technology/
GNU Lesser General Public License v3.0
985 stars 476 forks source link

Bor snapshot issues #1262

Open sammy007 opened 2 weeks ago

sammy007 commented 2 weeks ago

Average community snapshot size is 3.5TB. After snapshot prune-state on my own chaindata I got 4.5 TB.

State pruning successful                 pruned=1.63TiB elapsed=24h44m49.266s

Is there something else I can do to free space?

marcello33 commented 2 weeks ago

Hi @sammy007 We released yesterday a new version, v1.3.3 which supports ancient blocks pruning. Have you tried that?

sammy007 commented 2 weeks ago

Hi @sammy007 We released yesterday a new version, v1.3.3 which supports ancient blocks pruning. Have you tried that?

My question is not about deleting data from a node, I am confused why after compaction my node is consuming almost 1TB more than up to date snapshots. It must be equal AFAIK.

Raneet10 commented 1 week ago

@sammy007 Pruning only removes stale state from the db. It will not necessarily "rewind" the state to the point when the snapshot was taken. Hope this helps!