Open Josephtran102 opened 3 months ago
2024-07-08T07:29:00.552815Z INFO zgs_node::client::environment: Internal shutdown received reason="Panic (fatal error)"
2024-07-08T07:29:00.552824Z INFO zgs_node: Shutting down... reason=Failure("Panic (fatal error)")
2024-07-08T07:29:00.552839Z DEBUG task_executor: Async task shutdown, exit received task="log_reload"
2024-07-08T07:29:10.787034Z INFO zgs_node: Starting services...
2024-07-08T04:43:28.351045Z ERROR task_executor: Task panic. This is a bug! task_name="sync" data corruption advice="Please check above for a backtrace and notify the developers"
2024-07-08T04:43:28.351069Z INFO zgs_node::client::environment: Internal shutdown received reason="Panic (fatal error)"
2024-07-08T04:43:28.351078Z INFO zgs_node: Shutting down... reason=Failure("Panic (fatal error)")
2024-07-08T04:43:28.351094Z DEBUG task_executor: Async task shutdown, exit received task="log_reload"
2024-07-08T04:43:38.537647Z INFO zgs_node: Starting services...
thread 'tokio-runtime-worker' panicked at node/sync/src/auto_sync/tx_store.rs:103:9:
data corruption
stack backtrace:
0: rust_begin_unwind
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
1: core::panicking::panic_fmt
at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
2: sync::auto_sync::tx_store::TxStore::remove
3: sync::service::SyncService::on_sync_msg::{{closure}}
4: futures_util::future::future::FutureExt::poll_unpin
5: <futures_util::future::select::Select<A,B> as core::future::future::Future>::poll
6: <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll
7: <futures_util::future::future::flatten::Flatten<Fut,<Fut as core::future::future::Future>::Output> as core::future::future::Future>::poll
8: tokio::runtime::task::core::Core<T,S>::poll
9: tokio::runtime::task::harness::Harness<T,S>::poll
10: tokio::runtime::scheduler::multi_thread::worker::Context::run_task
11: tokio::runtime::scheduler::multi_thread::worker::Context::run
12: tokio::runtime::context::scoped::Scoped<T>::set
13: tokio::runtime::context::runtime::enter_runtime
14: tokio::runtime::scheduler::multi_thread::worker::run
15: <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll
16: tokio::runtime::task::core::Core<T,S>::poll
17: tokio::runtime::task::harness::Harness<T,S>::poll
18: tokio::runtime::blocking::pool::Inner::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Error: "Panic (fatal error)"
zgs.service: Main process exited, code=exited, status=1/FAILURE
zgs.service: Failed with result 'exit-code'.
zgs.service: Consumed 3.025s CPU time.
I have rebuilt the node and issue was sorted out, and the error’s gone.
Description
I encountered a data corruption error while running the node.
⚡ root@vmi1797354 ~/0g-storage-node/run ◈ v0.3.3 ±
The error details are as follows:
*Environment: