-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local local ledger storage misses blocks on 1.16.17 #33832
Comments
rel #17000 |
Here is the existing server with the non-cleaned ledger.
Request the block from the local range returns error.
request:
But block does exist:
|
ledger-tool output: $ solana-ledger-tool -l ./ledger/ slot 225536032
[2023-10-24T13:29:30.771443685Z INFO solana_ledger_tool] solana-ledger-tool 1.16.17 (src:667bc163; feat:4033350765, client:SolanaLabs)
[2023-10-24T13:29:30.771508566Z INFO solana_ledger::blockstore] Maximum open file descriptors: 1048576
[2023-10-24T13:29:30.771513447Z INFO solana_ledger::blockstore] Opening database at "/home/solana/ledger/rocksdb"
[2023-10-24T13:29:30.773959707Z INFO solana_ledger::blockstore_db] Opening Rocks with secondary (read only) access at: "/home/solana/ledger/rocksdb/solana-secondary"
[2023-10-24T13:29:30.773969087Z INFO solana_ledger::blockstore_db] This secondary access could temporarily degrade other accesses, such as by solana-validator
[2023-10-24T13:29:50.545583452Z INFO solana_ledger::blockstore_db] Rocks's automatic compactions are disabled due to Secondary access
[2023-10-24T13:29:50.546006804Z INFO solana_ledger::blockstore] "/home/solana/ledger/rocksdb" open took 19.8s
Slot 225536032
[2023-10-24T13:29:51.298403994Z INFO solana_ledger_tool] ledger tool took 20.5s |
@McSim85 - Just to confirm, was the node that exhibited this error restarted without
|
Hey @steviez
We don't have
We copy snapshots from known validators and from dedicated snapshot nodes before starting the validator process by pre-start script. Also, I see |
If you restarted without Regarding the |
Problem
We've noticed on several occasions that blocks goes missing from RPC.
How to reproduce:
but if request the public RPC, the block does exist
https://explorer.solana.com/block/225337448
Also, there is a warning in the logs:
Also,
getBlocksWithLimit
will exclude missed blocks from the results.Proposed Solution
A temporary fix would be if the RPC node could reach out to BigTable to fetch the blocks that are missing in case it cannot find the block in the current ledger.
But in the long term, there could be a bug in the validator code.
The text was updated successfully, but these errors were encountered: