Skip to content

Commit

Permalink
add compatible of old metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyihua-cn committed Jun 7, 2024
1 parent 449fd12 commit a474ce1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion librocksdb-sys/rocksdb
Submodule rocksdb updated 1 files
+6 −3 db/c.cc
3 changes: 3 additions & 0 deletions src/checkpoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,11 @@ pub struct RocksdbLevelMetaData {
file_creation_time: u64,
file_checksum: String,
file_checksum_func_name: String,
#[serde(default)]
epoch_number: u64,
#[serde(default)]
hex_smallest: String,
#[serde(default)]
hex_largest: String,
}

Expand Down

0 comments on commit a474ce1

Please sign in to comment.