Skip to content

data-store: Regular unexpected push with same timestamp. #38

Description

@yara-blue
Oct 21 01:42:45 sgc data-store[663]:     at crates/data-store/src/server/db.rs:39
Oct 21 01:42:45 sgc data-store[663]:   2024-10-20T23:42:45.878413Z ERROR data_store::server::db: Error processing new reading: got error with report:
Oct 21 01:42:45 sgc data-store[663]:    0: failed to append to existing timeseries
Oct 21 01:42:45 sgc data-store[663]:    1: Could not write to timeseries on disk
Oct 21 01:42:45 sgc data-store[663]:    2: Could not push, new timestamp: 1729467765 lies before last in data: 1729467765
Oct 21 01:42:45 sgc data-store[663]: Location:
Oct 21 01:42:45 sgc data-store[663]:    crates/data-store/src/server/db/series.rs:147
Oct 21 01:42:45 sgc data-store[663]:   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Oct 21 01:42:45 sgc data-store[663]:                                 ⋮ 4 frames hidden ⋮         
Oct 21 01:42:45 sgc data-store[663]:    5: <E as eyre::context::ext::StdError>::ext_report::h27bfaff3c83acb40
Oct 21 01:42:45 sgc data-store[663]:       at /home/david/.cargo/registry/src/index.crates.io-6f17d22bba15001f/eyre-0.6.12/src/context.rs:26
Oct 21 01:42:45 sgc data-store[663]:                                  ⋮ 1 frame hidden ⋮         
Oct 21 01:42:45 sgc data-store[663]:    7: data_store::server::db::series::Series::append::hd2137b63cae32274
Oct 21 01:42:45 sgc data-store[663]:       at /home/david/Documents/HomeAutomation/crates/data-store/src/server/db/series.rs:145
Oct 21 01:42:45 sgc data-store[663]:    8: data_store::server::db::series::store::{{closure}}::{{closure}}::h222ed791cf43b7a8
Oct 21 01:42:45 sgc data-store[663]:       at /home/david/Documents/HomeAutomation/crates/data-store/src/server/db/series.rs:272
Oct 21 01:42:45 sgc data-store[663]:    9: data_store::server::db::series::store::{{closure}}::h1897db9c015a408e
Oct 21 01:42:45 sgc data-store[663]:       at /home/david/Documents/HomeAutomation/crates/data-store/src/server/db/series.rs:266
Oct 21 01:42:45 sgc data-store[663]:   10: data_store::server::db::run::{{closure}}::h2ae872d5ca86a60c
Oct 21 01:42:45 sgc data-store[663]:       at /home/david/Documents/HomeAutomation/crates/data-store/src/server/db.rs:30
Oct 21 01:42:45 sgc data-store[663]:   11: <core::pin::Pin<P> as core::future::future::Future>::poll::h163738ceacc34316
Oct 21 01:42:45 sgc data-store[663]:       at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/future/future.rs:123
Oct 21 01:42:45 sgc data-store[663]:   12: <futures_concurrency::future::race::tuple::Race2<T,A,B> as core::future::future::Future>::poll::h1a981efd11d59a91
Oct 21 01:42:45 sgc data-store[663]:       at /home/david/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-concurrency-7.6.1/src/utils/tuple.rs:23
Oct 21 01:42:45 sgc data-store[663]:   13: data_store::server::run::{{closure}}::hd0756c9859d4b476
Oct 21 01:42:45 sgc data-store[663]:       at /home/david/Documents/HomeAutomation/crates/data-store/src/server.rs:25
Oct 21 01:42:45 sgc data-store[663]:   14: data_store::main::{{closure}}::h4fb464fc5c838973
Oct 21 01:42:45 sgc data-store[663]:       at /home/david/Documents/HomeAutomation/crates/data-store/src/main.rs:29
Oct 21 01:42:45 sgc data-store[663]:   15: tokio::runtime::park::CachedParkThread::block_on::{{closure}}::h57801889ba9afb7c
Oct 21 01:42:45 sgc data-store[663]:       at /home/david/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.40.0/src/runtime/park.rs:281
Oct 21 01:42:45 sgc data-store[663]:   16: tokio::runtime::coop::with_budget::hede9407cf3a88a4c
Oct 21 01:42:45 sgc data-store[663]:       at /home/david/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.40.0/src/runtime/coop.rs:107
Oct 21 01:42:45 sgc data-store[663]:   17: tokio::runtime::coop::budget::hc02ffeb7c5c07f94
Oct 21 01:42:45 sgc data-store[663]:       at /home/david/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.40.0/src/runtime/coop.rs:73
Oct 21 01:42:45 sgc data-store[663]:   18: tokio::runtime::park::CachedParkThread::block_on::he32dd45973c5afbf
Oct 21 01:42:45 sgc data-store[663]:       at /home/david/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.40.0/src/runtime/park.rs:281
Oct 21 01:42:45 sgc data-store[663]:   19: tokio::runtime::context::blocking::BlockingRegionGuard::block_on::h044ba445647ea35d
Oct 21 01:42:45 sgc data-store[663]:       at /home/david/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.40.0/src/runtime/context/blocking.rs:66
Oct 21 01:42:45 sgc data-store[663]:   20: tokio::runtime::scheduler::multi_thread::MultiThread::block_on::{{closure}}::h9be05129f0f2ee6e
Oct 21 01:42:45 sgc data-store[663]:       at /home/david/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.40.0/src/runtime/scheduler/multi_thread/mod.rs:87
Oct 21 01:42:45 sgc data-store[663]:   21: tokio::runtime::context::runtime::enter_runtime::hc86545bf0eb6f111
Oct 21 01:42:45 sgc data-store[663]:       at /home/david/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.40.0/src/runtime/context/runtime.rs:65
Oct 21 01:42:45 sgc data-store[663]:   22: tokio::runtime::scheduler::multi_thread::MultiThread::block_on::hc2313d599f871690
Oct 21 01:42:45 sgc data-store[663]:       at /home/david/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.40.0/src/runtime/scheduler/multi_thread/mod.rs:86
Oct 21 01:42:45 sgc data-store[663]:   23: tokio::runtime::runtime::Runtime::block_on_inner::h1ed05dcbbe8b022d
Oct 21 01:42:45 sgc data-store[663]:       at /home/david/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.40.0/src/runtime/runtime.rs:363
Oct 21 01:42:45 sgc data-store[663]:   24: tokio::runtime::runtime::Runtime::block_on::h203eb00a8feedbc6
Oct 21 01:42:45 sgc data-store[663]:       at /home/david/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.40.0/src/runtime/runtime.rs:335
Oct 21 01:42:45 sgc data-store[663]:   25: data_store::main::hf2c75a3b949b04e2
Oct 21 01:42:45 sgc data-store[663]:       at /home/david/Documents/HomeAutomation/crates/data-store/src/main.rs:29
Oct 21 01:42:45 sgc data-store[663]:   26: core::ops::function::FnOnce::call_once::hb36929c3d3d3681b
Oct 21 01:42:45 sgc data-store[663]:       at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/ops/function.rs:250
Oct 21 01:42:45 sgc data-store[663]:   27: std::sys::backtrace::__rust_begin_short_backtrace::hf7e7ea145ac88334
Oct 21 01:42:45 sgc data-store[663]:       at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/backtrace.rs:154
Oct 21 01:42:45 sgc data-store[663]:                                 ⋮ 11 frames hidden ⋮        
Oct 21 01:42:45 sgc data-store[663]: Note: reading: SmallBedroom(Bed(Co2(703)))
Oct 21 01:42:45 sgc data-store[663]: Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Oct 21 01:42:45 sgc data-store[663]: Run with RUST_BACKTRACE=full to include source snippets.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugdept/worked_aroundhas an ugly fix applied waiting for a proper one

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions