Andrew Kryczka
c8c8104d7e
Dictionary compression for files written by SstFileWriter ( #4978 )
...
Summary:
If `CompressionOptions::max_dict_bytes` and/or `CompressionOptions::zstd_max_train_bytes` are set, `SstFileWriter` will now generate files respecting those options.
I refactored the logic a bit for deciding when to use dictionary compression. Previously we plumbed `is_bottommost_level` down to the table builder and used that. However it was kind of confusing in `SstFileWriter`'s context since we don't know what level the file will be ingested to. Instead, now the higher-level callers (e.g., flush, compaction, file writer) are responsible for building the right `CompressionOptions` to give the table builder.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/4978
Differential Revision: D14060763
Pulled By: ajkr
fbshipit-source-id: dc802c327896df2b319dc162d6acc82b9cdb452a
2019-02-14 11:23:55 -08:00
..
2018-11-09 11:19:58 -08:00
2018-11-09 11:19:58 -08:00
2018-11-13 17:02:55 -08:00
2018-06-27 20:42:43 -07:00
2018-05-21 14:43:11 -07:00
2019-02-14 11:23:55 -08:00
2019-02-14 11:23:55 -08:00
2019-02-14 11:23:55 -08:00
2018-11-21 11:29:57 -08:00
2019-02-11 11:50:01 -08:00
2019-01-23 18:15:47 -08:00
2018-08-20 23:13:50 -07:00
2018-08-23 10:12:58 -07:00
2019-01-23 18:15:47 -08:00
2019-01-23 18:15:47 -08:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-11-13 17:02:55 -08:00
2019-02-11 11:50:01 -08:00
2019-02-11 11:50:01 -08:00
2017-07-15 16:11:23 -07:00
2019-01-24 10:34:30 -08:00
2017-07-15 16:11:23 -07:00
2018-11-09 11:19:58 -08:00
2018-10-30 15:34:27 -07:00
2017-07-15 16:11:23 -07:00
2018-11-09 11:19:58 -08:00
2018-11-09 11:19:58 -08:00
2018-11-09 11:19:58 -08:00
2018-09-05 18:13:31 -07:00
2018-08-09 16:58:40 -07:00
2018-08-16 18:42:46 -07:00
2018-08-16 18:42:46 -07:00
2019-02-11 19:47:32 -08:00
2018-08-20 23:13:50 -07:00
2018-08-20 23:13:50 -07:00
2018-06-26 15:57:26 -07:00
2018-03-26 20:26:10 -07:00
2019-01-18 19:12:57 -08:00
2019-01-18 19:12:57 -08:00
2018-04-24 10:58:16 -07:00
2018-05-21 14:43:11 -07:00
2018-06-29 08:57:20 -07:00
2018-06-29 08:57:20 -07:00
2019-01-25 17:12:19 -08:00
2019-01-23 18:15:47 -08:00
2018-08-23 10:12:58 -07:00
2018-08-23 10:12:58 -07:00
2018-08-09 16:58:40 -07:00
2017-09-11 12:04:21 -07:00
2018-08-09 16:58:40 -07:00
2018-10-09 17:07:27 -07:00
2017-09-11 12:04:21 -07:00
2018-08-09 16:58:40 -07:00
2018-08-09 16:58:40 -07:00
2019-02-11 11:50:01 -08:00
2019-02-11 11:50:01 -08:00
2018-11-09 11:19:58 -08:00
2018-11-09 11:19:58 -08:00
2018-11-13 17:02:55 -08:00
2018-09-17 17:28:15 -07:00
2018-09-17 17:28:15 -07:00
2018-11-13 17:02:55 -08:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2019-01-28 12:50:22 -08:00
2019-01-28 12:50:22 -08:00
2019-02-07 16:15:27 -08:00
2019-01-28 12:50:22 -08:00
2017-07-15 16:11:23 -07:00
2018-05-21 14:43:11 -07:00
2018-03-05 13:13:41 -08:00
2018-11-09 11:19:58 -08:00
2019-01-28 12:50:22 -08:00
2019-01-25 17:12:19 -08:00
2017-07-15 16:11:23 -07:00
2018-12-13 14:21:24 -08:00
2018-12-13 14:21:24 -08:00
2018-03-05 13:13:41 -08:00
2019-02-11 19:47:32 -08:00
2019-02-14 11:23:55 -08:00
2018-08-09 16:58:40 -07:00
2018-10-30 15:34:27 -07:00
2019-02-11 19:47:32 -08:00
2018-11-28 15:29:02 -08:00
2019-02-11 19:47:32 -08:00
2018-08-09 16:58:40 -07:00
2018-08-09 16:58:40 -07:00