Thread 'main' panicked at 'Critical database error: Custom { kind: Other, error: Error { message: "Corruption: Corrupted compressed block contents: Snappy" } }
When try to setup shibuya testnet node, got this issue. Please check and let me solution asap. Thanks.
0: sp_panic_handler::set::{{closure}}
1: <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call
at rustc/81f391930301afbc121b7c468138069daa354bf8/library/alloc/src/boxed.rs:1952:9
std::panicking::rust_panic_with_hook
at rustc/81f391930301afbc121b7c468138069daa354bf8/library/std/src/panicking.rs:673:13
2: std::panicking::begin_panic_handler::{{closure}}
at rustc/81f391930301afbc121b7c468138069daa354bf8/library/std/src/panicking.rs:560:13
3: std::sys_common::backtrace::__rust_end_short_backtrace
at rustc/81f391930301afbc121b7c468138069daa354bf8/library/std/src/sys_common/backtrace.rs:138:18
4: rust_begin_unwind
at rustc/81f391930301afbc121b7c468138069daa354bf8/library/std/src/panicking.rs:556:5
5: core::panicking::panic_fmt
at rustc/81f391930301afbc121b7c468138069daa354bf8/library/core/src/panicking.rs:142:14
6: <sp_database::kvdb::DbAdapter<D> as sp_database::Database<H>>::get
7: sc_state_db::StateDbSync<BlockHash,Key,D>::new
8: sc_service::builder::new_db_backend
9: sc_service::builder::new_full_parts
10: astar_collator::parachain::service::start_node_impl::{{closure}}
11: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
12: sc_cli::runner::Runner<C>::run_node_until_exit
13: astar_collator::command::run
14: astar_collator::main
15: std::sys_common::backtrace::__rust_begin_short_backtrace
16: std::rt::lang_start::{{closure}}
17: main
18: __libc_start_main
19: _start
Thread 'main' panicked at 'Critical database error: Custom { kind: Other, error: Error { message: "Corruption: Corrupted compressed block contents: Snappy" } }', /home/astar-admin/.cargo/git/checkouts/substrate-7e08433d4c370a21/2dff067/primitives/database/src/kvdb.rs:29
Thank you for your report, Could you share how to reproduce this issue and node launch commands you use? Also, I'd like to know if you use db snapshots or not. Thank you
I've not used db snapshots.
CMD: astar-collator
Args: ["--chain=shibuya",
"--base-path=/data", "--rpc-cors=all",
"--unsafe-rpc-external", "--ws-external",
]
I'd like to know how to resolve this issue asap.
Thanks for your support.
This error comes from RocksDB outside of substrate implementation.
On my side, it is not reproducible, I doubt some corruption of disk content.
Could you cleanup and try sync again?
(I can see using container, please also make sure volume mount /data is properly configured)
@lovelyrrg51 please feel free to reopen this issue if you got some reproducible error example.