Igor Canadi d9cd7a063f Fix CompactRange to apply filter to every key
Summary:
When doing CompactRange(), we should first flush the memtable and then calculate max_level_with_files. Also, we want to compact all the levels that have files, including level `max_level_with_files`.

This patch fixed the unit test.

Test Plan: Added a failing unit test and a fix, so it's not failing anymore.

Reviewers: dhruba, haobo, sdong

Reviewed By: haobo

CC: leveldb, xjin

Differential Revision: https://reviews.facebook.net/D14421
2014-01-14 16:19:09 -08:00
..
2014-01-10 17:56:35 +08:00
2014-01-06 11:11:19 -08:00
2013-10-23 14:38:52 -07:00
2013-11-16 11:21:34 +00:00
2013-12-11 08:33:29 -08:00
2013-12-09 14:06:52 -08:00
2013-12-09 14:06:52 -08:00
2013-12-11 11:18:00 -08:00
2013-11-07 11:31:56 -08:00
2013-12-03 12:42:15 -08:00
2013-12-03 12:42:15 -08:00
2013-11-12 21:22:32 -08:00
2013-12-03 12:42:15 -08:00