Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pruning Bug Fix #1110

Merged
merged 4 commits into from
Dec 19, 2023
Merged

Pruning Bug Fix #1110

merged 4 commits into from
Dec 19, 2023

Conversation

temaniarpit27
Copy link
Contributor

Description

This PR fixes Pruning Bug introduced in v1.2.0

@temaniarpit27 temaniarpit27 requested a review from a team December 18, 2023 10:15
Copy link

codecov bot commented Dec 18, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (e0671d5) 55.93% compared to head (964494f) 55.97%.

Files Patch % Lines
eth/backend.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1110      +/-   ##
==========================================
+ Coverage   55.93%   55.97%   +0.03%     
==========================================
  Files         658      658              
  Lines      114435   114435              
==========================================
+ Hits        64012    64051      +39     
+ Misses      46574    46535      -39     
  Partials     3849     3849              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@temaniarpit27 temaniarpit27 merged commit 2ee3919 into master Dec 19, 2023
12 of 14 checks passed
@temaniarpit27 temaniarpit27 deleted the arpit/pos-2410-2 branch December 19, 2023 03:48
@CroutonDigital
Copy link

Today I try run prune-state on my Polygon node use command (bot version 1.2.3):
bor snapshot prune-state --datadir /root/.bor/data/ --datadir.ancient=/root/.bor/data/bor/chaindata/ancient/

polygon-node-mainnet  | INFO [03-05|11:16:08.784] Using leveldb as the backing database 
polygon-node-mainnet  | INFO [03-05|11:16:08.785] Allocated cache and file handles         database=/root/.bor/data/bor/chaindata cache=1024.00MiB handles=524,288 compactionTableSize=0 compactionTableSizeMultiplier=0.000 compactionTotalSize=0 compactionTotalSizeMultiplier=0.000
polygon-node-mainnet  | INFO [03-05|11:16:29.842] Using LevelDB as the backing database 
polygon-node-mainnet  | INFO [03-05|11:16:29.842] Found legacy ancient chain path          location=/root/.bor/data/bor/chaindata/ancient/
polygon-node-mainnet  | INFO [03-05|11:16:29.978] Opened ancient database                  database=/root/.bor/data/bor/chaindata/ancient/ readonly=false
polygon-node-mainnet  | INFO [03-05|11:16:42.541] Initialized state bloom                  size=2.00GiB
polygon-node-mainnet  | ERROR[03-05|11:17:12.933] Failed to prune state                    err="no snapshot paired state"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failed to prune, and get error "no snapshot paired state".
4 participants