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-20 10:23:02 +02:00
2014-05-21 11:43:35 -07:00
2014-04-24 14:56:41 -04:00
2014-05-21 11:43:35 -07:00
2014-06-20 10:23:02 +02:00
2014-06-03 12:28:58 -07:00
2014-04-15 13:39:26 -07:00
2014-04-08 10:58:07 -07:00
2014-06-03 12:28:58 -07: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
2014-04-28 23:46:24 -04:00
2014-03-14 13:02:20 -07:00
2014-06-20 10:23:02 +02:00
2014-01-30 22:10:10 -08:00
2014-06-20 10:23:02 +02:00
2014-06-20 10:23:02 +02:00
2014-04-15 13:39:26 -07:00