mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-27 02:44:18 +00:00
09d982f9e0
Summary: See task #7983654. The example was triggering an assert in compaction job because the compaction was not marked as manual. With this patch, CompactionPicker::FormCompaction() marks compactions as manual. This patch also fixes a couple of typos, adds optimistic_transaction_example to .gitignore and librocksdb as a dependency for examples. Adding librocksdb as a dependency makes sure that the examples are built with the latest changes in librocksdb. Test Plan: make clean && cd examples && make all && ./compact_files_example Reviewers: rven, sdong, anthony, igor, yhchiang Reviewed By: yhchiang Subscribers: dhruba, leveldb Differential Revision: https://reviews.facebook.net/D45117 |
||
---|---|---|
.. | ||
.gitignore | ||
c_simple_example.c | ||
column_families_example.cc | ||
compact_files_example.cc | ||
Makefile | ||
optimistic_transaction_example.cc | ||
README.md | ||
simple_example.cc | ||
transaction_example.cc |
Compile RocksDB first by executing make static_lib
in parent dir