Skip to content

Commit 602949d

Browse files
committed
upgrade to RocksDB 10.2.1
1 parent 94858fc commit 602949d

File tree

7 files changed

+10
-9
lines changed

7 files changed

+10
-9
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ lto = ["rust-librocksdb-sys/lto"]
4040

4141
[dependencies]
4242
libc = "0.2"
43-
rust-librocksdb-sys = { path = "librocksdb-sys", version = "0.36.0", default-features = false, features = [
43+
rust-librocksdb-sys = { path = "librocksdb-sys", version = "0.37.0", default-features = false, features = [
4444
"static",
4545
] }
4646
serde = { version = "1", features = ["derive"], optional = true }

librocksdb-sys/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rust-librocksdb-sys"
3-
version = "0.36.0+10.1.3"
3+
version = "0.37.0+10.2.1"
44
edition = "2021"
55
rust-version = "1.81.0"
66
authors = [

librocksdb-sys/build_version.cc

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@
88

99
// The build script may replace these values with real values based
1010
// on whether or not GIT is available and the platform settings
11-
static const std::string rocksdb_build_git_sha = "5823cf08d69e4d9cba6953d51fb7d6996c72df94";
12-
static const std::string rocksdb_build_git_tag = "rocksdb_build_git_tag:v10.1.3";
11+
static const std::string rocksdb_build_git_sha = "4b2122578e475cb88aef4dcf152cccd5dbf51060";
12+
static const std::string rocksdb_build_git_tag = "rocksdb_build_git_tag:v10.2.1";
1313
#define HAS_GIT_CHANGES 0
1414
#if HAS_GIT_CHANGES == 0
1515
// If HAS_GIT_CHANGES is 0, the GIT date is used.
1616
// Use the time the branch/tag was last modified
17-
static const std::string rocksdb_build_date = "rocksdb_build_date:2025-04-09 11:08:48";
17+
static const std::string rocksdb_build_date = "rocksdb_build_date:2025-04-24 22:12:38";
1818
#else
1919
// If HAS_GIT_CHANGES is > 0, the branch/tag has modifications.
2020
// Use the time the build was created.
21-
static const std::string rocksdb_build_date = "rocksdb_build_date:2025-04-09 11:08:48";
21+
static const std::string rocksdb_build_date = "rocksdb_build_date:2025-04-24 22:12:38";
2222
#endif
2323

2424
std::unordered_map<std::string, ROCKSDB_NAMESPACE::RegistrarFunc> ROCKSDB_NAMESPACE::ObjectRegistry::builtins_ = {};

librocksdb-sys/rocksdb

Submodule rocksdb updated 124 files

src/statistics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,5 +170,5 @@ fn sanity_checks() {
170170

171171
// assert enum lengths
172172
assert_eq!(Ticker::iter().count(), 214 /* TICKER_ENUM_MAX */);
173-
assert_eq!(Histogram::iter().count(), 62 /* HISTOGRAM_ENUM_MAX */);
173+
assert_eq!(Histogram::iter().count(), 63 /* HISTOGRAM_ENUM_MAX */);
174174
}

src/statistics_enum_histogram.rs

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ iterable_named_enum! {
6464
ErrorHandlerAutoresumeRetryCount("rocksdb.error.handler.autoresume.retry.count"),
6565
AsyncReadBytes("rocksdb.async.read.bytes"),
6666
PollWaitMicros("rocksdb.poll.wait.micros"),
67+
CompactionPrefetchBytes("rocksdb.compaction.prefetch.bytes"),
6768
PrefetchedBytesDiscarded("rocksdb.prefetched.bytes.discarded"),
6869
AsyncPrefetchAbortMicros("rocksdb.async.prefetch.abort.micros"),
6970
TableOpenPrefetchTailReadBytes("rocksdb.table.open.prefetch.tail.read.bytes"),

tests/test_db.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1753,5 +1753,5 @@ fn test_db_version() {
17531753
.expect("can read the LOG file");
17541754

17551755
// Make sure to update this test when upgrading to a new version!
1756-
assert!(settings.contains("RocksDB version: 10.1.3"));
1756+
assert!(settings.contains("RocksDB version: 10.2.1"));
17571757
}

0 commit comments

Comments
 (0)