Skip to content

Commit

Permalink
upgrade to RocksDB 9.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zaidoon1 committed Jan 3, 2025
1 parent 64965b2 commit 442d80c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ lto = ["rust-librocksdb-sys/lto"]

[dependencies]
libc = "0.2"
rust-librocksdb-sys = { path = "librocksdb-sys", version = "0.31.0", default-features = false, features = [
rust-librocksdb-sys = { path = "librocksdb-sys", version = "0.32.0", default-features = false, features = [
"static",
] }
serde = { version = "1", features = ["derive"], optional = true }
Expand Down
2 changes: 1 addition & 1 deletion librocksdb-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rust-librocksdb-sys"
version = "0.31.0+9.9.3"
version = "0.32.0+9.10.0"
edition = "2021"
rust-version = "1.75.0"
authors = [
Expand Down
8 changes: 4 additions & 4 deletions librocksdb-sys/build_version.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "14d3046a53dda588ef5887ee2c80e93104caf079";
static const std::string rocksdb_build_git_tag = "rocksdb_build_git_tag:v9.9.3";
static const std::string rocksdb_build_git_sha = "ae8fb3e5000e46d8d4c9dbf3a36019c0aaceebff";
static const std::string rocksdb_build_git_tag = "rocksdb_build_git_tag:v9.10.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-12-04 18:23:08";
static const std::string rocksdb_build_date = "rocksdb_build_date:2024-12-16 12:45:14";
#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-12-04 18:23:08";
static const std::string rocksdb_build_date = "rocksdb_build_date:2024-12-16 12:45:14";
#endif

std::unordered_map<std::string, ROCKSDB_NAMESPACE::RegistrarFunc> ROCKSDB_NAMESPACE::ObjectRegistry::builtins_ = {};
Expand Down
2 changes: 1 addition & 1 deletion librocksdb-sys/rocksdb
Submodule rocksdb updated 97 files
+26 −0 BUCK
+1 −0 CMakeLists.txt
+13 −7 HISTORY.md
+2 −2 Makefile
+4 −5 USERS.md
+77 −43 buckifier/buckify_rocksdb.py
+23 −11 buckifier/check_buck_targets.sh
+1 −1 db/column_family.cc
+5 −1 db/column_family.h
+2 −2 db/compaction/compaction_iterator.cc
+24 −0 db/compaction/compaction_iterator_test.cc
+7 −5 db/db_impl/db_impl.cc
+45 −2 db/db_impl/db_impl.h
+6 −2 db/db_impl/db_impl_debug.cc
+5 −5 db/db_impl/db_impl_open.cc
+3 −4 db/db_impl/db_impl_readonly.cc
+220 −15 db/db_impl/db_impl_write.cc
+60 −3 db/db_test2.cc
+76 −44 db/db_test_util.cc
+2 −1 db/db_test_util.h
+2 −4 db/dbformat.cc
+54 −0 db/experimental.cc
+8 −4 db/flush_job.cc
+4 −2 db/forward_iterator.cc
+6 −7 db/log_reader.cc
+47 −0 db/manifest_ops.cc
+20 −0 db/manifest_ops.h
+1 −1 db/memtable.cc
+2 −2 db/memtable.h
+16 −3 db/memtable_list.cc
+2 −0 db/memtable_list_test.cc
+1 −1 db/repair.cc
+8 −7 db/transaction_log_impl.cc
+1 −35 db/version_set.cc
+0 −4 db/version_set.h
+5 −6 db/version_set_test.cc
+0 −15 db/wide/wide_column_serialization.cc
+0 −2 db/wide/wide_column_serialization.h
+9 −7 db/wide/wide_column_serialization_test.cc
+0 −8 db/wide/wide_columns_helper.cc
+28 −2 db/wide/wide_columns_helper.h
+2 −1 db/write_batch_test.cc
+3 −1 db/write_thread.cc
+6 −2 db/write_thread.h
+2 −0 db_stress_tool/db_stress_common.h
+7 −0 db_stress_tool/db_stress_gflags.cc
+39 −6 db_stress_tool/db_stress_test_base.cc
+15 −4 db_stress_tool/db_stress_test_base.h
+34 −8 db_stress_tool/multi_ops_txns_stress.cc
+23 −18 db_stress_tool/no_batched_ops_stress.cc
+5 −4 env/io_posix.cc
+1 −1 env/io_posix.h
+132 −48 file/file_prefetch_buffer.cc
+92 −24 file/file_prefetch_buffer.h
+476 −0 file/prefetch_test.cc
+3 −4 file/random_access_file_reader.cc
+1 −1 file/random_access_file_reader.h
+10 −0 include/rocksdb/db.h
+1 −0 include/rocksdb/env.h
+7 −0 include/rocksdb/experimental.h
+30 −37 include/rocksdb/file_system.h
+13 −24 include/rocksdb/options.h
+1 −0 include/rocksdb/thread_status.h
+102 −0 include/rocksdb/utilities/secondary_index.h
+89 −2 include/rocksdb/utilities/table_properties_collectors.h
+2 −0 include/rocksdb/utilities/transaction.h
+26 −0 include/rocksdb/utilities/transaction_db.h
+15 −0 include/rocksdb/utilities/write_batch_with_index.h
+2 −2 include/rocksdb/version.h
+1 −1 java/rocksjni/write_batch_test.cc
+23 −1 memtable/wbwi_memtable.cc
+232 −166 memtable/wbwi_memtable.h
+2 −0 monitoring/thread_status_util_debug.cc
+7 −0 src.mk
+4 −3 table/block_based/block_based_table_reader.cc
+2 −1 table/block_based/block_based_table_reader.h
+41 −39 table/table_test.cc
+1 −1 tools/check_format_compatible.sh
+73 −22 tools/db_crashtest.py
+24 −5 util/aligned_buffer.h
+0 −52 util/file_checksum_helper.cc
+1 −10 util/file_checksum_helper.h
+1 −0 util/thread_operation.h
+214 −0 utilities/secondary_index/faiss_ivf_index.cc
+60 −0 utilities/secondary_index/faiss_ivf_index.h
+124 −0 utilities/secondary_index/faiss_ivf_index_test.cc
+441 −0 utilities/secondary_index/secondary_index_mixin.h
+34 −3 utilities/table_properties_collectors/compact_for_tiering_collector.cc
+7 −2 utilities/table_properties_collectors/compact_for_tiering_collector.h
+34 −11 utilities/transactions/pessimistic_transaction.cc
+14 −7 utilities/transactions/pessimistic_transaction.h
+7 −1 utilities/transactions/pessimistic_transaction_db.cc
+5 −0 utilities/transactions/transaction_base.h
+748 −0 utilities/transactions/transaction_test.cc
+48 −10 utilities/write_batch_with_index/write_batch_with_index.cc
+13 −1 utilities/write_batch_with_index/write_batch_with_index_internal.h
+135 −20 utilities/write_batch_with_index/write_batch_with_index_test.cc
1 change: 1 addition & 0 deletions librocksdb-sys/rocksdb_lib_sources.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ db/logs_with_prep_tracker.cc
db/log_reader.cc
db/log_writer.cc
db/malloc_stats.cc
db/manifest_ops.cc
db/memtable.cc
db/memtable_list.cc
db/merge_helper.cc
Expand Down

0 comments on commit 442d80c

Please sign in to comment.