Skip to content

CRIT Failed to truncate extra state histories err=EOF #28105

@SimonSMH1015

Description

@SimonSMH1015

System information

Geth version: geth 1.13.0
CL client & version: e.g. [email protected]
OS & Version: Linux

Expected behaviour

After looking the new feature provided by version 1.13.0, I updated my node. I leaved only the ancient blocks and restarted my geth with --state.scheme=path. It tookl me around 6 hour to resynced blocks and generated snapshot.

To test the Semi-instant shutdowns, I forced shutdown my server without closing geth. Then I got the Error after I lauched the geth :-)

INFO [09-13|17:38:43.874] Starting Geth on Ethereum mainnet...
INFO [09-13|17:38:43.874] Bumping default cache on mainnet         provided=1024 updated=4096
INFO [09-13|17:38:43.876] Maximum peer count                       ETH=50 LES=0 total=50
INFO [09-13|17:38:43.877] Smartcard socket not found, disabling    err="stat /run/pcscd/pcscd.comm: no such file or directory"
INFO [09-13|17:38:44.034] Using pebble as the backing database
INFO [09-13|17:38:44.034] Allocated cache and file handles         database=/mnt/eth/geth/geth/chaindata cache=2.00GiB handles=32767
INFO [09-13|17:38:44.705] Opened ancient database                  database=/mnt/eth/geth/geth/chaindata/ancient/chain readonly=true
INFO [09-13|17:38:44.705] State scheme set by user                 scheme=path
INFO [09-13|17:38:44.710] Set global gas cap                       cap=50,000,000
INFO [09-13|17:38:44.716] Initializing the KZG library             backend=gokzg
INFO [09-13|17:38:44.759] Allocated trie memory caches             clean=614.00MiB dirty=1024.00MiB
INFO [09-13|17:38:44.838] Using pebble as the backing database
INFO [09-13|17:38:44.838] Allocated cache and file handles         database=/mnt/eth/geth/geth/chaindata cache=2.00GiB handles=32767
INFO [09-13|17:38:45.737] Opened ancient database                  database=/mnt/eth/geth/geth/chaindata/ancient/chain readonly=false
INFO [09-13|17:38:45.739] Initialising Ethereum protocol           network=1 dbversion=8
WARN [09-13|17:38:45.739] Sanitizing invalid node buffer size      provided=1024.00MiB updated=256.00MiB
INFO [09-13|17:38:45.739] Failed to load journal, discard it       err="journal not found"
INFO [09-13|17:38:45.741] Opened ancient database                  database=/mnt/eth/geth/geth/chaindata/ancient/state readonly=false
CRIT [09-13|17:38:46.774] Failed to truncate extra state histories err=EOF

Now I have to synced form 0 as leave the ancient block data still leading to this problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions