Go to file
Peter Dillinger 966be1cc4e Clean up some FastRange calls (#11707)
Summary:
* JemallocNodumpAllocator was passing a size_t to FastRange32, which could cause compilation errors or warnings (seen with clang)
* Fixed the order of arguments to match what would be used with modulo operator (%), for clarity.

Fixes https://github.com/facebook/rocksdb/issues/11006

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

Test Plan: no functional change, existing tests

Reviewed By: ajkr

Differential Revision: D48435149

Pulled By: pdillinger

fbshipit-source-id: e6e8b107ded4eceda37db20df59985c846a2546b
2023-08-17 11:52:38 -07:00
.circleci
.github/workflows
buckifier
build_tools fix CXX not initialized early enough in Makefile on openbsd + platform version 10.14 on macos (#11675) 2023-08-11 10:59:49 -07:00
cache Placeholder for AutoHyperClockCache, more (#11692) 2023-08-11 16:27:38 -07:00
cmake
coverage
db Delay bottommost level single file compactions (#11701) 2023-08-16 17:45:44 -07:00
db_stress_tool Delay bottommost level single file compactions (#11701) 2023-08-16 17:45:44 -07:00
docs
env
examples
file Add missing status check when compiling with `ASSERT_STATUS_CHECKED=1` (#11686) 2023-08-09 15:46:44 -07:00
fuzz
include/rocksdb Delay bottommost level single file compactions (#11701) 2023-08-16 17:45:44 -07:00
java
logging
memory Clean up some FastRange calls (#11707) 2023-08-17 11:52:38 -07:00
memtable
microbench
monitoring
options Delay bottommost level single file compactions (#11701) 2023-08-16 17:45:44 -07:00
plugin
port
table PutEntity Support in SST File Writer (#11688) 2023-08-10 18:16:10 -07:00
test_util Placeholder for AutoHyperClockCache, more (#11692) 2023-08-11 16:27:38 -07:00
third-party
tools Delay bottommost level single file compactions (#11701) 2023-08-16 17:45:44 -07:00
trace_replay
unreleased_history Delay bottommost level single file compactions (#11701) 2023-08-16 17:45:44 -07:00
util Clean up some FastRange calls (#11707) 2023-08-17 11:52:38 -07:00
utilities Add missing status check when compiling with `ASSERT_STATUS_CHECKED=1` (#11686) 2023-08-09 15:46:44 -07:00
.clang-format
.gitignore
.lgtm.yml
.watchmanconfig
AUTHORS
CMakeLists.txt
CODE_OF_CONDUCT.md
CONTRIBUTING.md
COPYING
DEFAULT_OPTIONS_HISTORY.md
DUMP_FORMAT.md
HISTORY.md
INSTALL.md
LANGUAGE-BINDINGS.md
LICENSE.Apache
LICENSE.leveldb
Makefile fix CXX not initialized early enough in Makefile on openbsd + platform version 10.14 on macos (#11675) 2023-08-11 10:59:49 -07:00
PLUGINS.md
README.md
TARGETS
USERS.md
Vagrantfile
WINDOWS_PORT.md
common.mk
crash_test.mk
issue_template.md
rocksdb.pc.in
src.mk
thirdparty.inc

README.md

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

CircleCI 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.