Skip to content

Releases: facebook/rocksdb

RocksDB 5.5.2

13 Jul 19:10
Compare
Choose a tag to compare

Re-tagging 5.5.1 release. No changes from 5.5.1.

RocksDB 5.5.1

03 Jul 17:20
Compare
Choose a tag to compare

New Features

  • FIFO compaction to support Intra L0 compaction too with CompactionOptionsFIFO.allow_compaction=true.
  • DB::ResetStats() to reset internal stats.
  • Statistics::Reset() to reset user stats.
  • ldb add option --try_load_options, which will open DB with its own option file.
  • Introduce WriteBatch::PopSavePoint to pop the most recent save point explicitly.
  • Support dynamically change max_open_files option via SetDBOptions()
  • Added DB::CreateColumnFamilie() and DB::DropColumnFamilies() to bulk create/drop column families.
  • Add debugging function GetAllKeyVersions to see internal versions of a range of keys.
  • Support file ingestion with universal compaction style
  • Support file ingestion behind with option allow_ingest_behind
  • New option enable_pipelined_write which may improve write throughput in case writing from multiple threads and WAL enabled.

Bug Fixes

  • Fix the bug that Direct I/O uses direct reads for non-SST file

v5.4.7

03 Jul 17:17
Compare
Choose a tag to compare

5.4.7 release.

RocksDB 5.4.7

03 Jul 17:17
Compare
Choose a tag to compare

Bug Fixes

  • Shouldn't ignore return value of fsync() in flush.

v5.4.6

30 May 23:50
Compare
Choose a tag to compare

5.4.6 release.

RocksDB 5.4.6

30 May 23:47
Compare
Choose a tag to compare

Bug Fixes

  • Fix db_bench with lite build.

v5.4.5

26 May 20:35
Compare
Choose a tag to compare

5.4.5 release.

RocksDB 5.4.5

26 May 20:44
Compare
Choose a tag to compare

Public API Change

  • Support dynamically changing stats_dump_period_sec option via SetDBOptions().
  • Added ReadOptions::max_skippable_internal_keys to set a threshold to fail a request as incomplete when too many keys are being skipped while using iterators.
  • DB::Get in place of std::string accepts PinnableSlice, which avoids the extra memcpy of value to std::string in most of cases.
    • PinnableSlice releases the pinned resources that contain the value when it is destructed or when ::Reset() is called on it.
    • The old API that accepts std::string, although discouraged, is still supported.
  • Replace Options::use_direct_writes with Options::use_direct_io_for_flush_and_compaction. See Direct IO wiki for details.

New Features

  • Memtable flush can be avoided during checkpoint creation if total log file size is smaller than a threshold specified by the user.
  • Introduce level-based L0->L0 compactions to reduce file count, so write delays are incurred less often.
  • (Experimental) Partitioning filters which creates an index on the partitions. The feature can be enabled by setting partition_filters when using kFullFilter. Currently the feature also requires two-level indexing to be enabled. Number of partitions is the same as the number of partitions for indexes, which is controlled by metadata_block_size.
  • DB::ResetStats() to reset internal stats.
  • Added CompactionEventListener and EventListener::OnFlushBegin interfaces.
  • Added DB::CreateColumnFamilie() and DB::DropColumnFamilies() to bulk create/drop column families.
  • Facility for cross-building RocksJava using Docker.

Bug Fixes

  • Fix WriteBatchWithIndex address use after scope error.
  • Fix WritableFile buffer size in direct IO.
  • Add prefetch to PosixRandomAccessFile in buffered io.
  • Fix PinnableSlice access invalid address when row cache is enabled.
  • Fix huge fallocate calls fail and make XFS unhappy.
  • Fix memory alignment with logical sector size.
  • Fix alignment in ReadaheadRandomAccessFile.
  • Fix bias with read amplification stats (READ_AMP_ESTIMATE_USEFUL_BYTES and READ_AMP_TOTAL_READ_BYTES).
  • Fix a manual / auto compaction data race.
  • Fix CentOS 5 cross-building of RocksJava.
  • Build and link with ZStd when creating the static RocksJava build.
  • Fix snprintf's usage to be cross-platform.
  • Fix build errors with blob DB.
  • Fix readamp test type inconsistency.

v5.3.6

19 May 18:50
Compare
Choose a tag to compare
  • Fix RocksJava static build issue.
  • Fix RocksJava build for IBM/PPC.

RocksDB 5.3.6

19 May 18:51
Compare
Choose a tag to compare
  • Fix RocksJava static build issue.
  • Fix RocksJava build for IBM/PPC.