I am running a berachain pruned node which is synched using a snapshot of an archived node. This is the second time I am seeing the node stop synching with the error
WARN storage::db::mdbx: The database read transaction has been open for too long. Backtrace: 0: <unknown> 1: <unknown> 2: <unknown> 3: <unknown> 4: <unknown> 5: <unknown> 6: <unknown> 7: <unknown> 8: <unknown> 9: <unknown> 10: <unknown> 11: <unknown> 12: start_thread 13: clone open_duration=140.424747423s self.txn_id=50010882
reth db --datadir /root/BERA/testnet/.reth version
2024-11-23T00:45:27.788436Z INFO Initialized tracing, debug log directory: /root/.cache/reth/logs/mainnet
Current database version: 2
Local database version: 2
Describe the bug
I am running a berachain pruned node which is synched using a snapshot of an archived node. This is the second time I am seeing the node stop synching with the error
WARN storage::db::mdbx: The database read transaction has been open for too long. Backtrace: 0: <unknown> 1: <unknown> 2: <unknown> 3: <unknown> 4: <unknown> 5: <unknown> 6: <unknown> 7: <unknown> 8: <unknown> 9: <unknown> 10: <unknown> 11: <unknown> 12: start_thread 13: clone open_duration=140.424747423s self.txn_id=50010882
Since then it restarts and keeps trying to unwind in a loop and fails with
target_block=6702297 got=0xd054a64478e5c953b518e8362193a820951aca16e1ad96ce247cf6eebe6f6ef0 expected=SealedHeader { hash: 0xe000731dd83e0651f5e350897c7645727a3bc4977e2e7a82ea7e8e6f752a7640, header: Header { parent_hash: 0xc7e9cfafbe91c0c8fe5d9e3f105356ffda0f18ee502c019e59e029bf6c7ad194, ommers_hash: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347, beneficiary: 0x34d68dffa8cfe02dd9c480b8bfb7c3a9ed3fc24a, state_root: 0xe8c622071d853ea0812fcc221e496e97931c6da63e328b7483f333cafe5fa985, transactions_root: 0x54722b4a2c0b1dcc72c4abe4e7f8a959d5da19b3dbf54d9862cf774d08ad1aba, receipts_root: 0xbd59516505f3bc8c0f352efae24251d89c9d6d9518961d60225d3a4abc962984, withdrawals_root: Some(0x990f81a9f994b6d13a53be8a19d3a7ae05b5274fbf12f26d59d35de1ede7a3b2), logs_bloom: 0xcba26a4238022a000903a2558c4411619fd5883d191422d81ca295d1c88185b81ea9b662b9398c024c4ec3a11879231eb11c101c2e19e05a00102e408a6bb040888c2c40f33ac41be42840fb56042c2a2c4c53dcbbc0399650f93f5ccd89604a693072dd2f6147907a2acb7715307daa14d0981bbd454e4bdad441faa63b91e082f4dd804c5815d1fca3ea742db501448d665411ca40e5b8110752e090fbc281530ede429933c0a5d8568e4c05866a0fe755007325a5f9d808a84749802f58835cc9f64e386e0aa1781596204423ae1b6008e03231d82834472ad09a3082258d045a617682c7ca34b5c7385c893c4090a45e97359b95ede5f4d5790a4eff6c21, difficulty: 0, number: 6702297, gas_limit: 30000000, gas_used: 29947757, timestamp: 1731280580, mix_hash: 0xf964b9d73c807a829c470ae0d2d8cc342efef9673153582149b8ca4b93390029, nonce: 0x0000000000000000, base_fee_per_gas: Some(3608895534), blob_gas_used: Some(0), excess_blob_gas: Some(0), parent_beacon_block_root: Some(0x7f1f26f7d6c46ebcd397ea861d09a3eb9cc06d07e2af013ad89633bb0099716e), requests_hash: None, extra_data: 0x } }
Steps to reproduce
start the chain create a snpshot from archive node restore snapshot chain runs for a few days then erros
Node logs
Platform(s)
Linux (x86)
What version/commit are you on?
reth Version: 1.1.1 Commit SHA: 15c230bac20e2b1b3532c8b0d470e815fbc0cc22
What database version are you on?
reth db --datadir /root/BERA/testnet/.reth version 2024-11-23T00:45:27.788436Z INFO Initialized tracing, debug log directory: /root/.cache/reth/logs/mainnet Current database version: 2 Local database version: 2
Which chain / network are you on?
Berachain Bartio 80084
What type of node are you running?
Full via --full flag
What prune config do you use, if any?
[stages.prune] commit_threshold = 1000000
[stages.account_hashing] clean_threshold = 500000 commit_threshold = 100000
[stages.storage_hashing] clean_threshold = 500000 commit_threshold = 100000
[stages.merkle] clean_threshold = 5000
[stages.transaction_lookup] chunk_size = 5000000
[stages.index_account_history] commit_threshold = 100000
[stages.index_storage_history] commit_threshold = 100000
[stages.etl] file_size = 524288000
[prune] block_interval = 5
[prune.segments.receipts_log_filter]
If you've built Reth from source, provide the full command you used
No response
Code of Conduct