Andrew Kryczka
01bcc34896
Introduce library-independent default compression level
...
Summary:
Previously we were using -1 as the default for every library, which was legacy from our zlib options. That worked for a while, but after zstd introduced a146ee04ae
, it started giving poor compression ratios by default in zstd.
This PR adds a constant to RocksDB public API, `CompressionOptions::kDefaultCompressionLevel`, which will get translated to the default value specific to the compression library being used in "util/compression.h". The constant uses a number that appears to be larger than any library's maximum compression level.
Closes https://github.com/facebook/rocksdb/pull/3895
Differential Revision: D8125780
Pulled By: ajkr
fbshipit-source-id: 2db157a89118cd4f94577c2f4a0a5ff31c8391c6
2018-05-23 18:42:08 -07:00
..
2018-03-26 20:26:10 -07:00
2017-07-15 16:11:23 -07:00
2017-10-17 11:13:19 -07:00
2018-04-12 17:59:16 -07:00
2017-10-17 11:13:19 -07:00
2018-04-15 17:26:26 -07:00
2017-07-15 16:11:23 -07:00
2018-02-23 13:57:26 -08:00
2018-04-15 17:26:26 -07:00
2017-07-15 16:11:23 -07:00
2017-12-01 10:42:05 -08:00
2018-04-12 17:59:16 -07:00
2016-10-25 11:31:39 -07:00
2017-07-15 16:11:23 -07:00
2017-07-31 12:12:03 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-10-19 10:57:12 -07:00
2017-07-15 16:11:23 -07:00
2018-04-12 17:59:16 -07:00
2018-05-17 18:27:16 -07:00
2018-05-23 18:42:08 -07:00
2017-07-15 16:11:23 -07:00
2017-11-03 14:42:08 -07:00
2017-07-15 16:11:23 -07:00
2017-08-31 14:16:30 -07:00
2017-09-08 11:11:04 -07:00
2017-08-31 14:16:30 -07:00
2017-08-31 14:16:30 -07:00
2017-12-19 18:26:49 -08:00
2018-02-13 12:18:07 -08:00
2017-08-31 14:16:30 -07:00
2018-04-26 13:58:20 -07:00
2018-04-26 13:58:20 -07:00
2018-04-26 13:58:20 -07:00
2018-04-18 16:32:35 -07:00
2017-12-01 10:42:05 -08:00
2018-03-07 12:42:12 -08:00
2017-10-19 10:57:12 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-03-14 00:57:24 -07:00
2018-03-05 13:13:41 -08:00
2018-05-09 19:42:58 -07:00
2018-05-14 10:57:56 -07:00
2018-04-26 13:58:20 -07:00
2018-04-26 13:58:20 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-12-01 10:42:05 -08:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-12-01 10:42:05 -08:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-12-01 10:42:05 -08:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-02-13 12:18:07 -08:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-08-31 14:16:30 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-04-12 17:59:16 -07:00
2017-10-04 19:15:01 -07:00
2017-10-04 19:15:01 -07:00
2018-03-05 23:57:12 -08:00
2017-07-15 16:11:23 -07:00
2018-03-05 13:13:41 -08:00
2018-04-26 13:58:20 -07:00
2018-04-26 13:58:20 -07:00
2017-07-15 16:11:23 -07:00
2018-04-10 14:13:18 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-02-15 16:57:37 -08:00
2017-07-15 16:11:23 -07:00
2018-03-23 12:56:52 -07:00
2018-03-23 12:56:52 -07:00
2018-03-23 12:56:52 -07:00
2018-03-23 12:56:52 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-04-12 17:59:16 -07:00
2018-05-21 09:57:00 -07:00
2018-03-07 12:42:12 -08:00
2018-03-05 13:13:41 -08:00
2017-11-03 14:42:08 -07:00
2018-02-16 08:13:34 -08:00
2017-07-15 16:11:23 -07:00
2018-04-24 08:41:51 -07:00
2018-04-24 08:41:51 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-05-02 18:13:05 -07:00
2017-12-06 09:42:28 -08:00
2017-06-05 11:27:34 -07:00
2015-03-12 12:07:10 -07:00