rocksdb/examples
Andres Notzli 09d982f9e0 Fix compact_files_example
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
2015-08-25 12:29:44 -07:00
..
.gitignore Fix compact_files_example 2015-08-25 12:29:44 -07:00
c_simple_example.c fix typo in c_simple_example 2015-05-22 16:13:11 -07:00
column_families_example.cc fix really trivial typo 2014-12-22 00:36:16 -05:00
compact_files_example.cc Fix compact_files_example 2015-08-25 12:29:44 -07:00
Makefile Fix compact_files_example 2015-08-25 12:29:44 -07:00
optimistic_transaction_example.cc Pessimistic Transactions 2015-08-11 17:52:23 -07:00
README.md Make it easier to start using RocksDB 2014-05-10 10:49:33 -07:00
simple_example.cc Added WriteBatch block to simple_example.cc 2015-01-27 19:37:36 -05:00
transaction_example.cc Pessimistic Transactions 2015-08-11 17:52:23 -07:00

Compile RocksDB first by executing make static_lib in parent dir