mirror of
https://github.com/facebook/rocksdb.git
synced 2024-12-01 16:15:59 +00:00
86623a7153
Summary: Add asserts to show the intentions of result explicitly. Add examples to show the effect of optimistic transaction more clearly. Pull Request resolved: https://github.com/facebook/rocksdb/pull/6074 Test Plan: `cd examples && make optimistic_transaction_example && ./optimistic_transaction_example` Differential Revision: D18964309 Pulled By: cheng-chang fbshipit-source-id: a524616ed9981edf2fd37ae61c5ed18c5cf25f55 |
||
---|---|---|
.. | ||
.gitignore | ||
c_simple_example.c | ||
column_families_example.cc | ||
compact_files_example.cc | ||
compaction_filter_example.cc | ||
Makefile | ||
multi_processes_example.cc | ||
optimistic_transaction_example.cc | ||
options_file_example.cc | ||
README.md | ||
rocksdb_option_file_example.ini | ||
simple_example.cc | ||
transaction_example.cc |
- Compile RocksDB first by executing
make static_lib
in parent dir - Compile all examples:
cd examples/; make all