mirror of https://github.com/facebook/rocksdb.git
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 | ||
Makefile | ||
README.md | ||
c_simple_example.c | ||
column_families_example.cc | ||
compact_files_example.cc | ||
compaction_filter_example.cc | ||
multi_processes_example.cc | ||
optimistic_transaction_example.cc | ||
options_file_example.cc | ||
rocksdb_option_file_example.ini | ||
simple_example.cc | ||
transaction_example.cc |
README.md
- Compile RocksDB first by executing
make static_lib
in parent dir - Compile all examples:
cd examples/; make all