Go to file
anand76 28c1c15c29 Sync tickers and histograms across C++ and Java (#12355)
Summary:
The RocksDB ticker and histogram statistics were out of sync between the C++ and Java code, with a number of newer stats missing in TickerType.java and HistogramType.java. Also, there were gaps in numbering in portal.h, which could soon become an issue due to the number of tickers and the fact that we're limited to 1 byte in Java. This PR adds the missing stats, and re-numbers all of them. It also moves some stats around to try to group related stats together. Since this will go into a major release, compatibility shouldn't be an issue.

This should be automated at some point, since the current process is somewhat error prone.

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

Reviewed By: jaykorean

Differential Revision: D53825324

Pulled By: anand1976

fbshipit-source-id: 298c180872f4b9f1ee54b8bb22f4e280458e7e09
2024-02-15 17:22:03 -08:00
.circleci
.github
buckifier
build_tools Update llvm-fb to 15 (#12342) 2024-02-14 14:40:05 -08:00
cache Prefer static_cast in place of most reinterpret_cast (#12308) 2024-02-07 10:44:11 -08:00
cmake
coverage
db Sync tickers and histograms across C++ and Java (#12355) 2024-02-15 17:22:03 -08:00
db_stress_tool Print zstd warning to stdout in stress test (#12338) 2024-02-07 14:17:51 -08:00
docs
env Prefer static_cast in place of most reinterpret_cast (#12308) 2024-02-07 10:44:11 -08:00
examples Prefer static_cast in place of most reinterpret_cast (#12308) 2024-02-07 10:44:11 -08:00
file Prefer static_cast in place of most reinterpret_cast (#12308) 2024-02-07 10:44:11 -08:00
fuzz
include/rocksdb Sync tickers and histograms across C++ and Java (#12355) 2024-02-15 17:22:03 -08:00
java Sync tickers and histograms across C++ and Java (#12355) 2024-02-15 17:22:03 -08:00
logging
memory Prefer static_cast in place of most reinterpret_cast (#12308) 2024-02-07 10:44:11 -08:00
memtable Prefer static_cast in place of most reinterpret_cast (#12308) 2024-02-07 10:44:11 -08:00
microbench
monitoring Sync tickers and histograms across C++ and Java (#12355) 2024-02-15 17:22:03 -08:00
options Fix build on alpine 3.19 (#12345) 2024-02-12 11:24:56 -08:00
plugin
port Prefer static_cast in place of most reinterpret_cast (#12308) 2024-02-07 10:44:11 -08:00
table Use format_version=6 by default (#12352) 2024-02-15 11:23:48 -08:00
test_util Prefer static_cast in place of most reinterpret_cast (#12308) 2024-02-07 10:44:11 -08:00
third-party
tools Use format_version=6 by default (#12352) 2024-02-15 11:23:48 -08:00
trace_replay
unreleased_history Use format_version=6 by default (#12352) 2024-02-15 11:23:48 -08:00
util Prefer static_cast in place of most reinterpret_cast (#12308) 2024-02-07 10:44:11 -08:00
utilities Remove the force mode for EnableFileDeletions API (#12337) 2024-02-13 18:36:25 -08: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 Prefer static_cast in place of most reinterpret_cast (#12308) 2024-02-07 10:44:11 -08: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.