rocksdb/tools
heyongqiang c64796fd34 Fix test failure of reduce_num_levels
Summary:
I changed the reduce_num_levels logic to avoid "compactRange()" call if the current number of levels in use (levels that contain files) is smaller than the new num of levels.
And that change breaks the assert in reduce_levels_test

Test Plan: run reduce_levels_test

Reviewers: dhruba, MarkCallaghan

Reviewed By: dhruba

CC: emayanke, sheki

Differential Revision: https://reviews.facebook.net/D6651
2012-11-12 12:05:38 -08:00
..
shell Titile: a command line shell to read/write data from a leveldb thrift server 2012-08-23 09:41:05 -07:00
db_stress.cc disable size compaction in ldb reduce_levels and added compression and file size parameter to it 2012-11-09 10:14:47 -08:00
ldb.cc Add a tool to change number of levels 2012-11-05 10:17:39 -08:00
manifest_dump.cc Fix compiler warnings. Use uint64_t instead of uint. 2012-09-12 14:42:36 -07:00
reduce_levels_test.cc Fix test failure of reduce_num_levels 2012-11-12 12:05:38 -08:00
sst_dump.cc Fix all warnings generated by -Wall option to the compiler. 2012-11-06 14:07:31 -08:00