Skip to content
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

Rusk Archiver Database Error - does it matter? #3348

Open
mcf-rocks opened this issue Jan 13, 2025 · 1 comment
Open

Rusk Archiver Database Error - does it matter? #3348

mcf-rocks opened this issue Jan 13, 2025 · 1 comment
Assignees
Labels
fix:bug Something isn't working

Comments

@mcf-rocks
Copy link

mcf-rocks commented Jan 13, 2025

I am seeing this error a lot in the logs:

2025-01-13T09:45:17.794921Z ERROR node::archive::archivist: Failed to finalize block in archive: error returned from database: (code: 275) CHECK constraint failed: id = block_height

Caused by:
    (code: 275) CHECK constraint failed: id = block_height
2025-01-13T09:45:17.799093Z ERROR node::archive::archivist: Failed to finalize block in archive: error returned from database: (code: 275) CHECK constraint failed: id = block_height

Caused by:
    (code: 275) CHECK constraint failed: id = block_height

Does it matter?

Version = rusk 1.0.0 (f848ed1 2025-01-05)
Ubuntu 24.04.1 LTS

Stack Trace:

Jan 13 09:53:27 flowers rusk[45730]: Stack backtrace:
Jan 13 09:53:27 flowers rusk[45730]:    0: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from
Jan 13 09:53:27 flowers rusk[45730]:    1: node::archive::sqlite::<impl node::archive::Archive>::finalize_archive_data::{{closure}}
Jan 13 09:53:27 flowers rusk[45730]:    2: <node::archive::archivist::ArchivistSrv as node::LongLivedService<N,DB,VM>>::execute::{{closure}}
Jan 13 09:53:27 flowers rusk[45730]:    3: node::Node<N,DB,VM>::spawn_all::{{closure}}::{{closure}}
Jan 13 09:53:27 flowers rusk[45730]:    4: std::panicking::try
Jan 13 09:53:27 flowers rusk[45730]:    5: tokio::runtime::task::harness::Harness<T,S>::poll
Jan 13 09:53:27 flowers rusk[45730]:    6: tokio::runtime::scheduler::multi_thread::worker::Context::run_task
Jan 13 09:53:27 flowers rusk[45730]:    7: tokio::runtime::scheduler::multi_thread::worker::Context::run
Jan 13 09:53:27 flowers rusk[45730]:    8: tokio::runtime::context::runtime::enter_runtime
Jan 13 09:53:27 flowers rusk[45730]:    9: tokio::runtime::scheduler::multi_thread::worker::run
Jan 13 09:53:27 flowers rusk[45730]:   10: <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll
Jan 13 09:53:27 flowers rusk[45730]:   11: tokio::runtime::task::core::Core<T,S>::poll
Jan 13 09:53:27 flowers rusk[45730]:   12: tokio::runtime::task::harness::Harness<T,S>::poll
Jan 13 09:53:27 flowers rusk[45730]:   13: tokio::runtime::blocking::pool::Inner::run
Jan 13 09:53:27 flowers rusk[45730]:   14: std::sys_common::backtrace::__rust_begin_short_backtrace
Jan 13 09:53:27 flowers rusk[45730]:   15: core::ops::function::FnOnce::call_once{{vtable.shim}}
Jan 13 09:53:27 flowers rusk[45730]:   16: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
Jan 13 09:53:27 flowers rusk[45730]:              at /rustc/0f44eb32f1123ac93ab404d74c295263ce468343/library/alloc/src/boxed.rs:2007:9
Jan 13 09:53:27 flowers rusk[45730]:   17: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
Jan 13 09:53:27 flowers rusk[45730]:              at /rustc/0f44eb32f1123ac93ab404d74c295263ce468343/library/alloc/src/boxed.rs:2007:9
Jan 13 09:53:27 flowers rusk[45730]:   18: std::sys::unix::thread::Thread::new::thread_start
Jan 13 09:53:27 flowers rusk[45730]:              at /rustc/0f44eb32f1123ac93ab404d74c295263ce468343/library/std/src/sys/unix/thread.rs:108:17
Jan 13 09:53:27 flowers rusk[45730]:   19: <unknown>
Jan 13 09:53:27 flowers rusk[45730]:   20: <unknown>
@mcf-rocks mcf-rocks added the fix:bug Something isn't working label Jan 13, 2025
@sanderdms
Copy link

Duplicate of: #3308

@Neotamandua Neotamandua self-assigned this Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants