Find a file
Manuel Ung 88ed1f6ea6 Allow upgrades from nullptr to some merge operator
Summary:
Currently, RocksDB does not allow reopening a preexisting DB with no merge operator defined, with a merge operator defined. This means that if a DB ever want to add a merge operator, there's no way to do so currently.

Fix this by adding a new verification type `kByNameAllowFromNull` which will allow old values to be nullptr, and new values to be non-nullptr.
Closes https://github.com/facebook/rocksdb/pull/2958

Differential Revision: D5961131

Pulled By: lth

fbshipit-source-id: 06179bebd0d90db3d43690b5eb7345e2d5bab1eb
2017-10-04 09:57:23 -07:00
buckifier
build_tools
cache
cmake
coverage
db pin L0 filters/indexes for compaction outputs 2017-10-03 16:27:28 -07:00
docs Blog post for 5.8 release 2017-09-28 10:14:09 -07:00
env Repair DBs with trailing slash in name 2017-09-22 12:42:22 -07:00
examples
hdfs
include/rocksdb Add ValueType::kTypeBlobIndex 2017-10-03 09:11:23 -07:00
java Limit number of merge operands in Cassandra merge operator 2017-10-02 16:11:40 -07:00
memtable
monitoring Use RAII instead of pointers in cf_info_map 2017-09-28 14:26:47 -07:00
options Allow upgrades from nullptr to some merge operator 2017-10-04 09:57:23 -07:00
port Fix MinGW build 2017-09-19 10:28:26 -07:00
table Allow upgrades from nullptr to some merge operator 2017-10-04 09:57:23 -07:00
third-party
tools ldb dump can print histogram of value size 2017-10-02 09:41:17 -07:00
util Prevent threads from respawning during joining 2017-10-03 16:27:28 -07:00
utilities fix valgrind leak report in unit test 2017-10-03 14:58:07 -07:00
.clang-format
.gitignore
.travis.yml
appveyor.yml
AUTHORS
CMakeLists.txt Add ValueType::kTypeBlobIndex 2017-10-03 09:11:23 -07:00
CONTRIBUTING.md
COPYING
DEFAULT_OPTIONS_HISTORY.md
DUMP_FORMAT.md
HISTORY.md Make bytes_per_sync and wal_bytes_per_sync mutable 2017-09-27 17:49:45 -07:00
INSTALL.md Default one to rocksdb:x64-windows 2017-09-28 16:12:24 -07:00
issue_template.md Add a template for issues 2017-09-29 11:41:28 -07:00
LANGUAGE-BINDINGS.md
LICENSE.Apache
LICENSE.leveldb
Makefile speedup 'make check' 2017-10-03 12:11:49 -07:00
README.md
ROCKSDB_LITE.md
src.mk Expose LoadLatestOptions, LoadOptionsFromFile and GetLatestOptionsFileName APIs in RocksJava 2017-09-21 17:29:13 -07:00
TARGETS Add ValueType::kTypeBlobIndex 2017-10-03 09:11:23 -07:00
thirdparty.inc
USERS.md Add LogDevice to USERS.md 2017-09-25 15:56:40 -07:00
Vagrantfile
WINDOWS_PORT.md

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

Build Status 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/