Go to file
Yi Wu 296545a2c7 Fix clang analyzer errors
Summary:
Fixing erros reported by clang static analyzer.
* Removing some unused variables.
* Adding assertions to fix false positives reported by clang analyzer.
* Adding `__clang_analyzer__` macro to suppress false positive warnings.

Test Plan:
    USE_CLANG=1 OPT=-g make analyze -j64

Reviewers: andrewkr, sdong

Reviewed By: sdong

Subscribers: andrewkr, dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D60549
2016-07-08 17:50:51 -07:00
arcanist_util Add release build to RocksDB per-diff/post-commit tests 2016-07-08 16:02:29 -07:00
build_tools Add release build to RocksDB per-diff/post-commit tests 2016-07-08 16:02:29 -07:00
coverage
db Fix clang analyzer errors 2016-07-08 17:50:51 -07:00
doc
examples Fix examples/Makefile jemalloc error 2016-06-14 12:18:32 -07:00
hdfs using java7 in runtime for hdfs env (#1072) 2016-04-12 00:08:26 -04:00
include/rocksdb Add options.write_buffer_manager: control total memtable size across DB instances 2016-07-05 18:11:25 -07:00
java Add options.write_buffer_manager: control total memtable size across DB instances 2016-07-05 18:11:25 -07:00
memtable Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
port stack_trace,cc: The current Stacktrace code does not compile for FreeBSD (#1153) 2016-06-05 17:40:43 -07:00
table Fix clang analyzer errors 2016-07-08 17:50:51 -07:00
third-party Fix clang analyzer errors 2016-07-08 17:50:51 -07:00
tools Fix clang analyzer errors 2016-07-08 17:50:51 -07:00
util Fix clang analyzer errors 2016-07-08 17:50:51 -07:00
utilities Fix clang analyzer errors 2016-07-08 17:50:51 -07:00
.arcconfig
.clang-format
.gitignore Ignore db_test2 2016-03-07 15:56:16 -08:00
.travis.yml Re-enable linux on travis 2016-06-30 14:34:50 -07:00
AUTHORS
CMakeLists.txt Fixed Minor Bug on Windows Build and db_bench_tool.cc (#1189) 2016-06-29 18:44:22 -07:00
CONTRIBUTING.md
DEFAULT_OPTIONS_HISTORY.md Release RocksDB 4.8.0 2016-05-02 14:38:04 -07:00
DUMP_FORMAT.md
HISTORY.md Add options.write_buffer_manager: control total memtable size across DB instances 2016-07-05 18:11:25 -07:00
INSTALL.md Simple changes to support builds for ppc64[le] consistent with X86 2016-01-19 09:08:19 -06:00
LANGUAGE-BINDINGS.md Merge pull request #1056 from facebook/igorcanadi-patch-1 2016-04-04 08:08:52 -07:00
LICENSE Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
Makefile Makefile warning for invalid paths in make_config.mk 2016-06-21 10:47:57 -07:00
PATENTS
README.md
ROCKSDB_LITE.md
USERS.md Update USER.md to include more services at Facebook. 2016-07-06 14:27:08 -07:00
Vagrantfile
WINDOWS_PORT.md
appveyor.yml Disable long running GroupCommitTest (#1125) 2016-05-19 10:29:49 -07:00
src.mk Update DB::AddFile() to ingest the file to the lowest possible level 2016-06-21 17:57:59 -07:00
thirdparty.inc Introduce XPRESS compresssion on Windows. (#1081) 2016-04-19 22:54:24 -07:00

README.md

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

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/