Skip to content

Commit 345dd79

Browse files
x46085shanecelis
andauthored
Fix timestep truncation (#402)
* Fix timestep truncation * Ensure that db truncate results in next tick at 0 * Add fix_timestamps command to Elodin-DB * Cargo fmt * chore: Bump to version 0.16.0-alpha.2. --------- Co-authored-by: Shane Celis <scelis@singularityus.com>
1 parent c19d0c3 commit 345dd79

File tree

11 files changed

+172
-113
lines changed

11 files changed

+172
-113
lines changed

Cargo.lock

Lines changed: 42 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ members = [
5858
exclude = ["fsw/sensor-fw", "fsw/blackbox", "docs/memserve"]
5959

6060
[workspace.package]
61-
version = "0.16.0-alpha.1"
61+
version = "0.16.0-alpha.2"
6262
edition = "2024"
6363
repository = "https://github.com/elodin-sys/elodin"
6464

libs/db/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,3 @@ tokio.optional = true
100100
postcard-c-codegen.path = "../postcard-c/codegen"
101101
hostname = "0.4.1"
102102
reflink-copy = "0.1.28"
103-
104-
[[bin]]
105-
name = "fix_timestamps"
106-
path = "src/bin/fix_timestamps.rs"

libs/db/src/error.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ pub enum Error {
5353
SchemaMismatch,
5454
#[error("missing db_state file at {0}")]
5555
MissingDbState(PathBuf),
56+
#[error("fix_timestamps: {0}")]
57+
FixTimestamps(String),
5658
}
5759

5860
impl From<impeller2_stellar::Error> for Error {

0 commit comments

Comments
 (0)