Find a file
Jay Zhuang d60ae5b1c7 Fix flaky ManualCompactionMax test (#8396)
Summary:
Recalculate the total size after generate new sst files.
New generated files might have different size as the previous time which
could cause the test failed.

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

Test Plan:
```
gtest-parallel ./db_compaction_test
--gtest_filter=DBCompactionTest.ManualCompactionMax -r 1000 -w 100
```

Reviewed By: akankshamahajan15

Differential Revision: D29083299

Pulled By: jay-zhuang

fbshipit-source-id: 49d4bd619cefc0f9a1f452f8759ff4c2ba1b6fdb
2021-06-14 08:11:40 -07:00
.circleci Fix cmake build failure with gflags (#8324) 2021-06-01 14:43:15 -07:00
.github/workflows
buckifier Modify script which generates TARGETS (#8366) 2021-06-04 16:28:59 -07:00
build_tools Fix use of binutils in Facebook platform009 (#8399) 2021-06-13 23:33:31 -07:00
cache Use DbSessionId as cache key prefix when secondary cache is enabled (#8360) 2021-06-10 11:02:43 -07:00
cmake
coverage
db Fix flaky ManualCompactionMax test (#8396) 2021-06-14 08:11:40 -07:00
db_stress_tool db_stress: wait for compaction to finish after open with failure injection (#8270) 2021-05-05 16:41:45 -07:00
docs Preset dictionary compression blog post (#8342) 2021-05-31 21:31:13 -07:00
env BugFix: fs_posix.cc GetFreeSpace uses wrong value non-root users (#8370) 2021-06-10 11:11:54 -07:00
examples
file Refactor kill point (#8241) 2021-05-05 15:50:29 -07:00
fuzz
hdfs
include/rocksdb Make Comparator into a Customizable Object (#8336) 2021-06-11 06:22:59 -07:00
java Make ImmutableOptions struct that inherits from ImmutableCFOptions and ImmutableDBOptions (#8262) 2021-05-05 14:00:17 -07:00
logging
memory
memtable Use deleters to label cache entries and collect stats (#8297) 2021-05-19 16:51:13 -07:00
monitoring Disable IOStatsContext/PerfContext if no thread local (#8117) 2021-04-13 07:56:59 -07:00
options Make Comparator into a Customizable Object (#8336) 2021-06-11 06:22:59 -07:00
plugin
port Use deleters to label cache entries and collect stats (#8297) 2021-05-19 16:51:13 -07:00
table Support for Merge in Integrated BlobDB with base values (#8292) 2021-06-10 12:58:37 -07:00
test_util Make Comparator into a Customizable Object (#8336) 2021-06-11 06:22:59 -07:00
third-party
tools Fixed manifest_dump issues when printing keys and values containing null characters (#8378) 2021-06-10 12:55:20 -07:00
trace_replay
util Make Comparator into a Customizable Object (#8336) 2021-06-11 06:22:59 -07:00
utilities Use DbSessionId as cache key prefix when secondary cache is enabled (#8360) 2021-06-10 11:02:43 -07:00
.clang-format
.gitignore
.lgtm.yml
.travis.yml Move arm build from travis to circleci (#8203) 2021-04-19 20:07:02 -07:00
.watchmanconfig
appveyor.yml
AUTHORS
CMakeLists.txt Support for Merge in Integrated BlobDB with base values (#8292) 2021-06-10 12:58:37 -07:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md
COPYING
DEFAULT_OPTIONS_HISTORY.md
defs.bzl
DUMP_FORMAT.md
HISTORY.md Disable subcompactions for user-defined timestamps (#8393) 2021-06-12 12:09:25 -07:00
INSTALL.md
issue_template.md
LANGUAGE-BINDINGS.md
LICENSE.Apache
LICENSE.leveldb
Makefile Add a clipping internal iterator (#8327) 2021-06-09 15:41:16 -07:00
PLUGINS.md Add ZenFS to plugin list (#8218) 2021-04-22 11:12:40 -07:00
README.md
ROCKSDB_LITE.md
src.mk Support for Merge in Integrated BlobDB with base values (#8292) 2021-06-10 12:58:37 -07:00
TARGETS Support for Merge in Integrated BlobDB with base values (#8292) 2021-06-10 12:58:37 -07:00
thirdparty.inc
USERS.md
Vagrantfile
WINDOWS_PORT.md

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

CircleCI Status TravisCI 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/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/ and https://rocksdb.slack.com/

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.