Skip to content

Failed to update chain markers #25679

@miguelmota

Description

@miguelmota

Hi, any idea why this error occurs? can't seem to fully sync even after wiping storage and trying again. Thanks in advance

CRIT [09-05|00:00:02.054] Failed to update chain markers           error="leveldb/table: corruption on data-block (pos=182186521): checksum mismatch, want=0x23a5bb08 got=0xe7ce424c [file=001506.ldb]"

System information

Geth version: 1.10.23-stable
OS & Version: Linux

Geth
Version: 1.10.23-stable
Git Commit: d901d85377c2c2f05f09f423c7d739c0feecd90a
Git Commit Date: 20220824
Architecture: amd64
Go Version: go1.19
Operating System: linux
GOPATH=
GOROOT=
Linux intelnuc 5.19.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 31 Aug 2022 22:09:40 +0000 x86_64 GNU/Linux

Expected behaviour

No error when initial syncing

Actual behaviour

INFO [09-04|23:59:39.787] Merge configured:
INFO [09-04|23:59:39.787]  - Hard-fork specification:    https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/paris.md
INFO [09-04|23:59:39.787]  - Network known to be merged: false
INFO [09-04|23:59:39.787]  - Total terminal difficulty:  58750000000000000000000
INFO [09-04|23:59:39.787]  - Merge netsplit block:       <nil>
INFO [09-04|23:59:39.787] ---------------------------------------------------------------------------------------------------------------------------------------------------------
INFO [09-04|23:59:39.787]
INFO [09-04|23:59:39.789] Disk storage enabled for ethash caches   dir=/root/.ethereum/geth/ethash count=3
INFO [09-04|23:59:39.789] Disk storage enabled for ethash DAGs     dir=/root/.ethash               count=2
INFO [09-04|23:59:39.789] Initialising Ethereum protocol           network=1 dbversion=8
INFO [09-04|23:59:40.262] Loaded most recent local header          number=1,417,624 hash=4a173e..0b75dd td=16,083,127,554,052,015,996 age=6y5mo1w
INFO [09-04|23:59:40.262] Loaded most recent local full block      number=0         hash=d4e567..cb8fa3 td=17,179,869,184             age=53y5mo1w
INFO [09-04|23:59:40.262] Loaded most recent local fast block      number=0         hash=d4e567..cb8fa3 td=17,179,869,184             age=53y5mo1w
ERROR[09-04|23:59:40.262] Truncating ancient chain                 from=1,417,624 to=0
WARN [09-04|23:59:40.262] Rewinding blockchain                     target=0
CRIT [09-05|00:00:02.054] Failed to update chain markers           error="leveldb/table: corruption on data-block (pos=182186521): checksum mismatch, want=0x23a5bb08 got=0xe7ce424c [file=001506.ldb]"

Steps to reproduce the behaviour

docker run \
        --detach \
        --name geth \
        -it \
        --restart=unless-stopped \
        --network="host" \
        --log-driver local \
        --log-opt max-size=2gb \
        -v /mnt/ssd/ethereum_geth:/root/.ethereum \
        -v $HOME/geth_jwt:/geth_jwt:ro \
        -p 30303:30303/tcp \
        -p 30303:30303/udp \
        -p 8545:8545 \
        ethereum/client-go:v1.10.23 \
        --http \
        --http.addr="0.0.0.0" \
	--http.api=eth,net,engine,admin \
        --http.vhosts="*" \
        --ipcdisable \
	--syncmode="full" \
	--authrpc.addr="0.0.0.0" \
        --authrpc.vhosts="*" \
	--datadir=/root/.ethereum

Backtrace

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