rocksdb/utilities
Xing Jin 42c109cc2e New ldb command to convert compaction style
Summary:
Add new command "change_compaction_style" to ldb tool. For
universal->level, it shows "nothing to do". For level->universal, it
compacts all files into a single one and moves the file to level 0.

Also add check for number of files at level 1+ when opening db with
universal compaction style.

Test Plan:
'make all check'. New unit test for internal convertion function. Also manully test various
cmd like:

./ldb change_compaction_style --old_compaction_style=0
--new_compaction_style=1 --db=/tmp/leveldbtest-3088/db_test

Reviewers: haobo, dhruba

Reviewed By: haobo

CC: vamsi, emayanke

Differential Revision: https://reviews.facebook.net/D12603
2013-09-04 13:13:08 -07:00
..
merge_operators Replace include/leveldb with include/rocksdb. 2013-08-23 10:51:00 -07:00
redis Replace include/leveldb with include/rocksdb. 2013-08-23 10:51:00 -07:00
ttl New ldb command to convert compaction style 2013-09-04 13:13:08 -07:00
.DS_Store Implemented StringAppendOperator and unit tests. 2013-05-13 15:09:42 -07:00
merge_operators.h Replace include/leveldb with include/rocksdb. 2013-08-23 10:51:00 -07:00