Go to file
Peter Dillinger 34bb3ddc43 Improve SmallEnumSet (#11178)
Summary:
In anticipation of using this to represent sets of CacheEntryRole for including or excluding kinds of blocks in block cache tiers, add significant new features to SmallEnumSet, including at least:

* List initialization
* Applicative constexpr operations
* copy/move/equality ops
* begin/end/const_iterator for iteration
* Better comments

Pull Request resolved: https://github.com/facebook/rocksdb/pull/11178

Test Plan: unit tests added/expanded

Reviewed By: ltamasi

Differential Revision: D42973723

Pulled By: pdillinger

fbshipit-source-id: 40783486feda931c3f7c6fcc9a300acd6a4b0a0a
2023-02-08 20:14:57 -08:00
.circleci Mitigate presumed OOM in CircleCI (#11206) 2023-02-08 17:00:46 -08:00
.github/workflows
buckifier
build_tools
cache
cmake
coverage
db Fix bug in WAL streaming uncompression (#11198) 2023-02-08 12:05:49 -08:00
db_stress_tool
docs
env
examples
file
fuzz
include/rocksdb Improve SmallEnumSet (#11178) 2023-02-08 20:14:57 -08:00
java Remove a couple deprecated convenience.h APIs (#11120) 2023-02-07 14:11:53 -08:00
logging
memory
memtable
microbench
monitoring
options Remove a couple deprecated convenience.h APIs (#11120) 2023-02-07 14:11:53 -08:00
plugin
port Fix compile gettid on older Linux (#11184) 2023-02-03 16:49:54 -08:00
table Remove a couple deprecated convenience.h APIs (#11120) 2023-02-07 14:11:53 -08:00
test_util
third-party
tools Fix regression_test.sh for LIB_MODE=shared default (#11194) 2023-02-06 19:44:25 -08:00
trace_replay
util Improve SmallEnumSet (#11178) 2023-02-08 20:14:57 -08:00
utilities Ensure LockWAL() stall cleared for UnlockWAL() return (#11172) 2023-02-03 12:08:37 -08:00
.clang-format
.gitignore
.lgtm.yml
.watchmanconfig
AUTHORS
CMakeLists.txt Improve SmallEnumSet (#11178) 2023-02-08 20:14:57 -08:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md
COPYING
DEFAULT_OPTIONS_HISTORY.md
DUMP_FORMAT.md
HISTORY.md Fix bug in WAL streaming uncompression (#11198) 2023-02-08 12:05:49 -08:00
INSTALL.md
LANGUAGE-BINDINGS.md
LICENSE.Apache
LICENSE.leveldb
Makefile Revert to LIB_MODE=static for optimized builds (#11195) 2023-02-07 11:26:55 -08:00
PLUGINS.md
README.md
TARGETS Improve SmallEnumSet (#11178) 2023-02-08 20:14:57 -08:00
USERS.md
Vagrantfile
WINDOWS_PORT.md
common.mk
crash_test.mk
issue_template.md
rocksdb.pc.in
src.mk Improve SmallEnumSet (#11178) 2023-02-08 20:14:57 -08:00
thirdparty.inc

README.md

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

CircleCI Status Appveyor 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 especially suitable for storing multiple terabytes of data in a single database.

Start with example usage here: https://github.com/facebook/rocksdb/tree/main/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.

Questions and discussions are welcome on the RocksDB Developers Public Facebook group and email list on Google Groups.

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.