Skip to content

Commit a474ce1

Browse files
committed
add compatible of old metadata
1 parent 449fd12 commit a474ce1

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

librocksdb-sys/rocksdb

Submodule rocksdb updated 1 file

src/checkpoint.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,11 @@ pub struct RocksdbLevelMetaData {
7878
file_creation_time: u64,
7979
file_checksum: String,
8080
file_checksum_func_name: String,
81+
#[serde(default)]
8182
epoch_number: u64,
83+
#[serde(default)]
8284
hex_smallest: String,
85+
#[serde(default)]
8386
hex_largest: String,
8487
}
8588

0 commit comments

Comments
 (0)