A library that provides an embeddable, persistent key-value store for fast storage.
Switch branches/tags
Clone or download
maysamyabandeh and facebook-github-bot Fix bug in partition filters with format_version=4 (#4381)
Summary:
Value delta encoding in format_version 4 requires the differences between the size of two consecutive handles to be sent to BlockBuilder::Add. This applies not only to indexes on blocks but also the indexes on indexes and filters in partitioned indexes and filters respectively. The patch fixes a bug where the partitioned filters would encode the entire size of the handle rather than the difference of the size with the last size.
Pull Request resolved: #4381

Differential Revision: D9879505

Pulled By: maysamyabandeh

fbshipit-source-id: 27a22e49b482b927fbd5629dc310c46d63d4b6d1
Latest commit 65ac72e Sep 17, 2018
Permalink
Failed to load latest commit information.
buckifier Grab straggler files to explicitly import AutoHeaders Aug 29, 2018
build_tools Release 5.16 (#4298) Aug 21, 2018
cache Support group commits of version edits (#3944) Jun 28, 2018
cmake Search paths provided by intel's "tbbvars.sh". May 7, 2018
coverage Remove unused imports, from python scripts. (#4057) Jun 26, 2018
db Fix bug in partition filters with format_version=4 (#4381) Sep 18, 2018
docs data block hash index blog post Aug 29, 2018
env Auto recovery from out of space errors (#4164) Sep 15, 2018
examples Pin top-level index on partitioned index/filter blocks (#4037) Jun 22, 2018
hdfs Comment out unused variables Mar 5, 2018
include/rocksdb Auto recovery from out of space errors (#4164) Sep 15, 2018
java Remove warnings caused by unused variables in jni (#4345) Sep 5, 2018
memtable Suppress clang analyzer error (#4299) Aug 21, 2018
monitoring Support pragma once in all header files and cleanup some warnings (#4339 Sep 6, 2018
options Add path to WritableFileWriter. (#4039) Aug 23, 2018
port Fix cross-filesystem checkpoint on Windows (#4365) Sep 14, 2018
table Fix bug in partition filters with format_version=4 (#4381) Sep 18, 2018
third-party Support pragma once in all header files and cleanup some warnings (#4339 Sep 6, 2018
tools Support manual flush in stress/crash tests (#4368) Sep 17, 2018
util Fix regression test failures introduced by PR #4164 (#4375) Sep 17, 2018
utilities Store the return value of Fsync for check Sep 14, 2018
.clang-format A script that automatically reformat affected lines Jan 14, 2014
.gitignore RocksDB Trace Analyzer (#4091) Aug 13, 2018
.lgtm.yml Create lgtm.yml for LGTM.com C/C++ analysis (#4058) Jun 26, 2018
.travis.yml Add GCC 8 to Travis (#3433) Jul 13, 2018
AUTHORS Update RocksDB Authors File Oct 18, 2017
CMakeLists.txt Add RangeDelAggregator microbenchmarks (#4363) Sep 17, 2018
CODE_OF_CONDUCT.md Add Code of Conduct Dec 6, 2017
CONTRIBUTING.md Add Code of Conduct Dec 6, 2017
COPYING Add GPLv2 as an alternative license. Apr 28, 2017
DEFAULT_OPTIONS_HISTORY.md options.delayed_write_rate use the rate of rate_limiter by default. May 24, 2017
DUMP_FORMAT.md First version of rocksdb_dump and rocksdb_undump. Jun 19, 2015
HISTORY.md Skip concurrency control during recovery of pessimistic txn (#4346) Sep 10, 2018
INSTALL.md Enable compilation on OpenBSD Mar 19, 2018
LANGUAGE-BINDINGS.md Added PingCaps Rust RocksDB and ObjectiveRocks (#4065) Jun 27, 2018
LICENSE.Apache Change RocksDB License Jul 15, 2017
LICENSE.leveldb Add back the LevelDB license file Jul 17, 2017
Makefile Add RangeDelAggregator microbenchmarks (#4363) Sep 17, 2018
README.md Create lgtm.yml for LGTM.com C/C++ analysis (#4058) Jun 26, 2018
ROCKSDB_LITE.md Fix some typos in comments and docs. Mar 8, 2018
TARGETS Add RangeDelAggregator microbenchmarks (#4363) Sep 17, 2018
USERS.md Support range deletion tombstones in IngestExternalFile SSTs (#3778) Jul 14, 2018
Vagrantfile Adding CentOS 7 Vagrantfile & build script Feb 26, 2018
WINDOWS_PORT.md Add GCC 8 to Travis (#3433) Jul 13, 2018
appveyor.yml Upgrade Appveyor to VS2017 Feb 1, 2018
issue_template.md Add a template for issues Sep 29, 2017
src.mk Add RangeDelAggregator microbenchmarks (#4363) Sep 17, 2018
thirdparty.inc Provide a way to override windows memory allocator with jemalloc for … Jun 4, 2018

README.md

RocksDB: A Persistent Key-Value Store for Flash and RAM Storage

Linux/Mac Build Status Windows Build status PPC64le Build Status

RocksDB is developed and maintained by Facebook Database Engineering Team. It is built on earlier work on LevelDB by Sanjay Ghemawat (sanjay@google.com) and Jeff Dean (jeff@google.com)

This code is a library that forms the core building block for a fast key value server, especially suited for storing data on flash drives. It has a Log-Structured-Merge-Database (LSM) design with flexible tradeoffs between Write-Amplification-Factor (WAF), Read-Amplification-Factor (RAF) and Space-Amplification-Factor (SAF). It has multi-threaded compactions, making it specially suitable for storing multiple terabytes of data in a single database.

Start with example usage here: https://github.com/facebook/rocksdb/tree/master/examples

See the github wiki for more explanation.

The public interface is in include/. Callers should not include or rely on the details of any other header files in this package. Those internal APIs may be changed without warning.

Design discussions are conducted in https://www.facebook.com/groups/rocksdb.dev/

License

RocksDB is dual-licensed under both the GPLv2 (found in the COPYING file in the root directory) and Apache 2.0 License (found in the LICENSE.Apache file in the root directory). You may select, at your option, one of the above-listed licenses.