Find a file
Yanqin Jin caced09e79 Expand stress test coverage for user-defined timestamp (#10280)
Summary:
Before this PR, we call `now()` to get the wall time before performing point-lookup and range
scans when user-defined timestamp is enabled.

With this PR, we expand the coverage to:
- read with an older timestamp which is larger then the wall time when the process starts but potentially smaller than now()
- add coverage for `ReadOptions::iter_start_ts != nullptr`

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

Test Plan:
```bash
make check
```

Also,
```bash
TEST_TMPDIR=/dev/shm/rocksdb make crash_test_with_ts
```

So far, we have had four successful runs of the above

In addition,
```bash
TEST_TMPDIR=/dev/shm/rocksdb make crash_test
```
Succeeded twice showing no regression.

Reviewed By: ltamasi

Differential Revision: D37539805

Pulled By: riversand963

fbshipit-source-id: f2d9887ad95245945ce17a014d55bb93f00e1cb5
2022-07-05 13:30:15 -07:00
.circleci
.github/workflows
buckifier
build_tools
cache Fix CalcHashBits (#10295) 2022-07-01 20:51:20 -07:00
cmake
coverage
db Try to trivial move more than one files (#10190) 2022-07-05 10:10:37 -07:00
db_stress_tool Expand stress test coverage for user-defined timestamp (#10280) 2022-07-05 13:30:15 -07:00
docs
env
examples
file
fuzz
include/rocksdb Add load_latest_options() to C api (#10152) 2022-06-30 11:03:52 -07:00
java Clock cache (#10273) 2022-06-29 21:50:39 -07:00
logging Fix bug in Logger creation if dbname and db_log_dir are on different filesystem (#10292) 2022-06-30 19:04:25 -07:00
memory
memtable
microbench
monitoring Add blob cache tickers, perf context statistics, and DB properties (#10203) 2022-06-28 13:52:35 -07:00
options
plugin
port Fix GetWindowsErrSz nullptr bug (#10282) 2022-06-29 20:41:54 -07:00
table Add API for writing wide-column entities (#10242) 2022-06-25 15:30:47 -07:00
test_util
third-party
tools Add the git hash and full RocksDB version to report.tsv (#10277) 2022-07-05 11:46:36 -07:00
trace_replay
util
utilities BackupEngine: we can return immediately if GetFileSize failed (#10176) 2022-07-03 23:16:09 -07:00
.clang-format
.gitignore
.lgtm.yml
.travis.yml
.watchmanconfig
AUTHORS
CMakeLists.txt Add API for writing wide-column entities (#10242) 2022-06-25 15:30:47 -07:00
CODE_OF_CONDUCT.md
common.mk
CONTRIBUTING.md
COPYING
crash_test.mk
DEFAULT_OPTIONS_HISTORY.md
DUMP_FORMAT.md
HISTORY.md Try to trivial move more than one files (#10190) 2022-07-05 10:10:37 -07:00
INSTALL.md
issue_template.md
LANGUAGE-BINDINGS.md
LICENSE.Apache
LICENSE.leveldb
Makefile Add API for writing wide-column entities (#10242) 2022-06-25 15:30:47 -07:00
PLUGINS.md
README.md
rocksdb.pc.in
ROCKSDB_LITE.md
src.mk Add API for writing wide-column entities (#10242) 2022-06-25 15:30:47 -07:00
TARGETS Add API for writing wide-column entities (#10242) 2022-06-25 15:30:47 -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/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.