Skip to content

erlang-rocksdb 3.0.0

Choose a tag to compare

@benoitc benoitc released this 13 Jun 22:00
· 7 commits to master since this release
42f99b3

erlang-rocksdb 3.0.0, released on 2026/06/13

Breaking Changes

  • update vendored RocksDB to 11.1.1 (from 10.10.1)
  • remove deprecated functions. Migrate as follows:
    • write/3: use the batch API (batch/0, batch_put/3,4, write_batch/3)
    • fold/4,5, fold_keys/4,5, count/1,2: use the iterator API
    • new_lru_cache/1, new_clock_cache/1: use new_cache/2
    • get_usage/1, get_pinned_usage/1, get_capacity/1: use cache_info/1,2
    • default_env/0, mem_env/0: use new_env/1
    • updates_iterator/2, close_updates_iterator/1, next_binary_update/1, next_update/1: use the tlog_* functions
    • drop_column_family/1, destroy_column_family/1: use the /2 arities
    • open_with_cf/3: use open/3
  • block_based_table_options format_version below 2 is no longer supported by RocksDB 11.0 (default is now 7)

New Features

  • add abort_all_compactions/1 and resume_all_compactions/1 (RocksDB 11.0)
  • FIFO compaction options (RocksDB 11.0): max_data_files_size, use_kv_ratio_compaction
  • block_based_table_options (RocksDB 11.0/11.1):
    • index_block_search_type: binary_search | interpolation | auto
    • uniform_cv_threshold
    • prepopulate_block_cache: disable | flush_only | flush_and_compaction
  • DB options (RocksDB 11.1):
    • open_files_async (requires skip_stats_update_on_db_open = true)
    • enforce_write_buffer_manager_during_recovery
    • verify_manifest_content_on_close
  • column family option (RocksDB 11.1): memtable_batch_lookup_optimization
  • wide-column entity column values are stored in blob files when min_blob_size is set (RocksDB 11.0)

Notes

  • the blob_db_write_inlined and blob_db_write_inlined_ttl statistics tickers are deprecated upstream and now always report 0