Alex Sharov
Alex Sharov
maybe related to https://github.com/ledgerwatch/erigon/issues/10313
There are several places where stages are called. Some pass external rwtx, some are not. “integration” usually doesn’t. kv.RwTx and kv.RwDB are 2 different objects.
oke `BlocksProduction` `ForkValidation` `ApplyBlocks` (or `Sync` or `?`)
after 3 days (7 restarts) nodes not finished downloading: ``` ethmainnet: [INFO] [07-05|04:45:57.711] [1/6 Snapshots] downloading header-chain progress="70.99% 1.1TB/1.6TB" time-left=1321hrs:51m total-time=9m40s download=102.4KB/s upload=102.4KB/s peers=682 files=524 metadata=524/524 connections=1180 alloc=8.4GB sys=12.3GB [DBUG]...
I fixed download stuck by: https://github.com/ledgerwatch/erigon/pull/11037
git bisect shows that regression introduced by https://github.com/ledgerwatch/erigon/pull/10561 revert (by https://github.com/ledgerwatch/erigon/pull/10730 ) helps - but maybe it's just hiding some bug in prune
maybe fixed by https://github.com/erigontech/erigon/pull/11803
not fixed by https://github.com/erigontech/erigon/pull/15166
git status go build -v ./cmd/erigon