Go to file
Hui Xiao e7525a1fff Disable use_txn=1 with sync_fault_injection=1 in db_crashtest.py (#10605)
Summary:
**Context/Summary:**
`ExpectedState` is not aware of transaction-related concept so `use_txn=1 ` is not compatible with `sync_fault_injection=1`. Therefore this PR disabled this combination until we expand our correctness testing to transaction related features.

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

Test Plan:
- Run the following commands to verify `--use_txn` is correctly sanitized
   - `python3 ./tools/db_crashtest.py blackbox --use_txn=1 --sync_fault_injection=1 `
   - `python3 ./tools/db_crashtest.py blackbox --use_txn=0 --sync_fault_injection=1 `

Reviewed By: ajkr

Differential Revision: D39121287

Pulled By: hx235

fbshipit-source-id: 7d5d6dd32479ea1c07df4f38322650f3a60def9c
2022-08-31 13:16:39 -07:00
.circleci CI benchmarks refine configuration (#10514) 2022-08-25 09:47:03 -07:00
.github/workflows
buckifier
build_tools Migrate to docker for CI run (#10496) 2022-08-10 17:34:38 -07:00
cache Add a dedicated cache entry role for blobs (#10601) 2022-08-29 16:11:59 -07:00
cmake
coverage
db Support using cache warming with the secondary blob cache (#10603) 2022-08-30 17:03:45 -07:00
db_stress_tool Adjust the blob cache printout in db_bench/db_stress (#10614) 2022-08-31 09:55:50 -07:00
docs Make header more natural. (#10580) 2022-08-26 20:48:18 -07:00
env Migrate to docker for CI run (#10496) 2022-08-10 17:34:38 -07:00
examples
file Sync dir containing CURRENT after RenameFile on CURRENT as much as possible (#10573) 2022-08-29 17:35:21 -07:00
fuzz Add some missing headers (#10519) 2022-08-11 12:45:50 -07:00
include/rocksdb Option migration tool to break down files for FIFO compaction (#10600) 2022-08-31 12:08:23 -07:00
java Update statistics for async scan readaheads (#10585) 2022-08-29 14:37:44 -07:00
logging Fix build error with NIOSTATS_CONTEXT (#10506) 2022-08-23 15:00:14 -07:00
memory Add a blob-specific cache priority (#10461) 2022-08-12 17:59:06 -07:00
memtable Migrate to docker for CI run (#10496) 2022-08-10 17:34:38 -07:00
microbench Avoid allocations/copies for large `GetMergeOperands()` results (#10458) 2022-08-04 00:42:13 -07:00
monitoring Update statistics for async scan readaheads (#10585) 2022-08-29 14:37:44 -07:00
options MultiGet async IO across multiple levels (#10535) 2022-08-19 16:52:52 -07:00
plugin
port Fix FreeBSD building (#10575) 2022-08-28 00:05:51 -07:00
table MultiGet async IO across multiple levels (#10535) 2022-08-19 16:52:52 -07:00
test_util Add seqno to time mapping (#10338) 2022-07-14 21:49:34 -07:00
third-party
tools Disable use_txn=1 with sync_fault_injection=1 in db_crashtest.py (#10605) 2022-08-31 13:16:39 -07:00
trace_replay
util Fix an import issue in fbcode. (#10604) 2022-08-29 21:09:36 -07:00
utilities Option migration tool to break down files for FIFO compaction (#10600) 2022-08-31 12:08:23 -07:00
.clang-format
.gitignore
.lgtm.yml
.watchmanconfig
AUTHORS
CMakeLists.txt Fix an import issue in fbcode. (#10604) 2022-08-29 21:09:36 -07:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md
COPYING
DEFAULT_OPTIONS_HISTORY.md
DUMP_FORMAT.md
HISTORY.md Option migration tool to break down files for FIFO compaction (#10600) 2022-08-31 12:08:23 -07:00
INSTALL.md
LANGUAGE-BINDINGS.md Add grocksdb in Go language bindings (#10498) 2022-08-23 15:02:10 -07:00
LICENSE.Apache
LICENSE.leveldb
Makefile Fix periodic_task unable to re-register the same task type (#10379) 2022-08-25 18:52:37 -07:00
PLUGINS.md
README.md Remove Travis CI (#10407) 2022-07-22 20:16:45 -07:00
ROCKSDB_LITE.md
TARGETS Fix an import issue in fbcode. (#10604) 2022-08-29 21:09:36 -07:00
USERS.md
Vagrantfile
WINDOWS_PORT.md
common.mk
crash_test.mk Tiered storage stress test (#10493) 2022-08-08 13:08:35 -07:00
issue_template.md
rocksdb.pc.in
src.mk Fix an import issue in fbcode. (#10604) 2022-08-29 21:09:36 -07: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.