diff --git a/Cargo.toml b/Cargo.toml index 631a0b8..8a3845e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,7 +37,7 @@ portable = ["rust-librocksdb-sys/portable"] [dependencies] libc = "0.2" -rust-librocksdb-sys = { path = "librocksdb-sys", version = "0.18.2" } +rust-librocksdb-sys = { path = "librocksdb-sys", version = "0.19.0" } serde = { version = "1", features = ["derive"], optional = true } [dev-dependencies] diff --git a/librocksdb-sys/Cargo.toml b/librocksdb-sys/Cargo.toml index 869beae..8753933 100644 --- a/librocksdb-sys/Cargo.toml +++ b/librocksdb-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rust-librocksdb-sys" -version = "0.18.2+8.11.3" +version = "0.19.0+9.0.0" edition = "2021" rust-version = "1.75.0" authors = [ diff --git a/librocksdb-sys/build_version.cc b/librocksdb-sys/build_version.cc index 9915244..130bb76 100644 --- a/librocksdb-sys/build_version.cc +++ b/librocksdb-sys/build_version.cc @@ -8,17 +8,17 @@ // The build script may replace these values with real values based // on whether or not GIT is available and the platform settings -static const std::string rocksdb_build_git_sha = "c2467b141e840fdba5b3a1810763043e56449fb9"; -static const std::string rocksdb_build_git_tag = "rocksdb_build_git_tag:v8.11.3"; +static const std::string rocksdb_build_git_sha = "f4441966592636253fd5ab0bb9ed44fc2697fc53"; +static const std::string rocksdb_build_git_tag = "rocksdb_build_git_tag:v9.0.0"; #define HAS_GIT_CHANGES 0 #if HAS_GIT_CHANGES == 0 // If HAS_GIT_CHANGES is 0, the GIT date is used. // Use the time the branch/tag was last modified -static const std::string rocksdb_build_date = "rocksdb_build_date:2024-02-27 16:24:11"; +static const std::string rocksdb_build_date = "rocksdb_build_date:2024-03-18 15:15:28"; #else // If HAS_GIT_CHANGES is > 0, the branch/tag has modifications. // Use the time the build was created. -static const std::string rocksdb_build_date = "rocksdb_build_date:2024-02-27 16:24:11"; +static const std::string rocksdb_build_date = "rocksdb_build_date:2024-03-18 15:15:28"; #endif std::unordered_map ROCKSDB_NAMESPACE::ObjectRegistry::builtins_ = {}; diff --git a/librocksdb-sys/rocksdb b/librocksdb-sys/rocksdb index c2467b1..f444196 160000 --- a/librocksdb-sys/rocksdb +++ b/librocksdb-sys/rocksdb @@ -1 +1 @@ -Subproject commit c2467b141e840fdba5b3a1810763043e56449fb9 +Subproject commit f4441966592636253fd5ab0bb9ed44fc2697fc53 diff --git a/src/db_options.rs b/src/db_options.rs index 6f9c564..12a7419 100644 --- a/src/db_options.rs +++ b/src/db_options.rs @@ -2886,17 +2886,6 @@ impl Options { } } - /// Specifies the file access pattern once a compaction is started. - /// - /// It will be applied to all input files of a compaction. - /// - /// Default: Normal - pub fn set_access_hint_on_compaction_start(&mut self, pattern: AccessHint) { - unsafe { - ffi::rocksdb_options_set_access_hint_on_compaction_start(self.inner, pattern as c_int); - } - } - /// Enable/disable adaptive mutex, which spins in the user space before resorting to kernel. /// /// This could reduce context switch when the mutex is not