This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
validator restart can generate "Cluster largest_confirmed_root x does not exist on node. Node root: y" #9921
Open
Description
When a validator restarts, blockstore_processor
filters out all roots older than the current root [1]. By the time it goes to create a BankForks [2], the cluster confirmed root requested at [3] is long gone.
Couple options I see:
- Introduce ForkProgress into
blockstore_processor
- Update
blockstore_processor
to hang on to a couple hundred older roots to populate into BankForks [2] (which'll get pruned the first timeBankForks::set_root()
is called.
[1]
solana/ledger/src/blockstore_processor.rs
Line 747 in 3757754
[2]
solana/ledger/src/blockstore_processor.rs
Line 381 in 3757754
[3]
Lines 102 to 113 in 627bc7e
Metadata
Assignees
Labels
No labels