Find a file
Yi Wu 2c45ada4c4 Blob DB garbage collection should keep keys with newer version
Summary:
Fix the bug where if blob db garbage collection revmoe keys with newer version. It shouldn't delete the key from base db when sequence number in base db is not equal to the one in blob log.
Closes https://github.com/facebook/rocksdb/pull/2678

Differential Revision: D5549752

Pulled By: yiwu-arbug

fbshipit-source-id: abb8649260963b5c389748023970fd746279d227
2017-08-03 13:12:12 -07:00
arcanist_util
buckifier
build_tools
cache Replace dynamic_cast<> 2017-07-28 16:27:16 -07:00
cmake/modules
coverage
db Fix the overflow bug in AwaitState 2017-08-03 10:43:28 -07:00
docs
env Replace dynamic_cast<> 2017-07-28 16:27:16 -07:00
examples Replace dynamic_cast<> 2017-07-28 16:27:16 -07:00
hdfs
include/rocksdb Replace dynamic_cast<> 2017-07-28 16:27:16 -07:00
java Fix statistics in RocksJava sample 2017-08-01 16:58:26 -07:00
memtable
monitoring Replace dynamic_cast<> 2017-07-28 16:27:16 -07:00
options Replace dynamic_cast<> 2017-07-28 16:27:16 -07:00
port
table Replace dynamic_cast<> 2017-07-28 16:27:16 -07:00
third-party
tools support multiple CFs with OPTIONS file 2017-08-02 16:27:01 -07:00
util Add a missing "once" in .h 2017-07-31 12:12:03 -07:00
utilities Blob DB garbage collection should keep keys with newer version 2017-08-03 13:12:12 -07:00
.clang-format
.gitignore
.travis.yml
appveyor.yml
AUTHORS
CMakeLists.txt Refactor TransactionImpl 2017-08-03 08:57:22 -07:00
CONTRIBUTING.md
COPYING
DEFAULT_OPTIONS_HISTORY.md
DUMP_FORMAT.md
HISTORY.md fix db get/write stats 2017-07-31 12:12:03 -07:00
INSTALL.md
LANGUAGE-BINDINGS.md
LICENSE.Apache
LICENSE.leveldb
Makefile Replace dynamic_cast<> 2017-07-28 16:27:16 -07:00
README.md
ROCKSDB_LITE.md
src.mk Refactor TransactionImpl 2017-08-03 08:57:22 -07:00
TARGETS Dump Blob DB options to info log 2017-08-01 13:01:47 -07:00
thirdparty.inc
USERS.md
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/