Igor Canadi
f146cab261
Centralize compression decision to compaction picker
...
Summary:
Before this diff, we're deciding enable_compression in CompactionPicker and then we're deciding final compression type in DBImpl. This is kind of confusing.
After the diff, the final compression type will be decided in CompactionPicker.
The reason for this is that I want CompactFiles() to specify output compression type, so that people can mix and match compression styles in their compaction algorithms. This diff makes it much easier to do that.
Test Plan: make check
Reviewers: dhruba, haobo, sdong, yhchiang, ljin
Reviewed By: ljin
Subscribers: leveldb
Differential Revision: https://reviews.facebook.net/D19137
2014-07-02 20:40:57 +02:00
..
2014-06-16 16:10:52 -07:00
2014-06-16 16:10:52 -07:00
2014-06-30 15:54:31 -07:00
2014-06-19 16:31:24 +12:00
2014-06-20 10:23:02 +02:00
2014-06-26 16:45:27 -07:00
2014-06-26 16:45:27 -07:00
2014-07-02 20:40:57 +02:00
2014-05-21 11:43:35 -07:00
2014-07-02 20:40:57 +02:00
2014-07-02 20:40:57 +02:00
2014-04-24 14:56:41 -04:00
2014-06-24 15:29:28 -06:00
2014-05-20 14:28:51 -07:00
2014-05-21 11:43:35 -07:00
2014-06-20 10:23:02 +02:00
2014-02-12 13:47:09 -08:00
2014-07-02 20:40:57 +02:00
2014-07-02 20:40:57 +02:00
2014-06-03 12:28:58 -07:00
2014-06-02 17:44:57 -07:00
2014-04-15 13:39:26 -07:00
2014-07-01 18:54:50 -07:00
2013-10-16 17:48:41 -07:00
2014-04-08 10:58:07 -07:00
2014-07-01 17:14:15 -07:00
2013-11-15 16:30:23 -08:00
2014-04-30 09:03:24 -07:00
2014-04-21 09:10:12 -07:00
2014-04-21 11:08:30 -07:00
2013-10-16 17:48:41 -07:00
2014-05-06 17:51:33 -07:00
2014-05-06 17:51:33 -07:00
2014-06-16 16:10:52 -07:00
2014-06-03 12:28:58 -07:00
2014-04-22 22:13:21 -07:00
2014-04-22 22:13:21 -07:00
2014-05-05 11:11:48 -07:00
2014-01-02 16:32:31 -08:00
2014-02-28 13:19:47 -08:00
2014-01-27 14:49:10 -08:00
2014-03-14 22:44:35 +00:00
2013-10-16 17:48:41 -07:00
2013-10-16 17:48:41 -07:00
2014-06-02 17:44:57 -07:00
2014-06-02 17:44:57 -07:00
2014-06-30 15:54:31 -07:00
2014-06-02 17:44:57 -07:00
2014-03-24 17:57:13 -07:00
2014-03-27 16:15:25 -07:00
2014-03-24 20:47:53 -07:00
2014-03-26 18:11:41 -07:00
2014-04-28 23:46:24 -04:00
2014-03-14 13:02:20 -07:00
2014-07-01 17:14:15 -07:00
2014-07-01 17:14:15 -07:00
2014-06-27 16:34:15 -07:00
2014-06-20 10:23:02 +02:00
2014-01-30 22:10:10 -08:00
2014-03-10 12:56:46 -07:00
2013-10-16 17:48:41 -07:00
2014-06-20 10:23:02 +02:00
2014-06-20 10:23:02 +02:00
2014-05-13 12:30:55 -07:00
2013-12-05 16:34:16 -08:00
2014-05-13 12:30:55 -07:00
2014-04-25 12:21:34 -07:00
2014-04-25 12:21:34 -07:00
2014-05-12 17:50:21 -07:00
2014-04-15 13:39:26 -07:00
2014-03-05 12:13:44 -08:00
2014-06-16 16:10:52 -07:00
2014-06-24 19:22:11 -06:00
2014-06-16 16:10:52 -07:00
2014-07-01 08:55:04 +02:00
2014-07-01 08:55:04 +02:00
2014-04-22 11:27:33 -07:00
2014-04-25 12:21:34 -07:00
2014-04-22 11:27:33 -07:00