rocksdb/options
Andrew Kryczka 1adbceb581 Expand effect of dictionary settings in ColumnFamilyOptions::compression_opts (#7619)
Summary:
In dictionary compression's initial implementation, in order to save CPU overhead, we only enabled it
for bottom level under the assumption that the vast majority of data is
stored there. At that time, there was no
such thing as `ColumnFamilyOptions::bottommost_compression_opts`, so we just
hardcoded disabling dictionary compression in flush and compactions to
non-bottommost level. Now, we have users who generate all their files
through flush and are considering using dictionary compression.

To support such a use case, this PR expands the scope of `ColumnFamilyOptions::compression_opts` to
additionally include flushed files and files generated by compaction to
a non-bottommost level. Users can still get the old behavior by moving
their dictionary settings to `ColumnFamilyOptions::bottommost_compression_opts`
and explicitly enabling both that and `ColumnFamilyOptions::bottommost_compression`.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/7619

Reviewed By: ltamasi

Differential Revision: D24665610

Pulled By: ajkr

fbshipit-source-id: 656b90bce1033fe21c71e09af931ef5bde3e464c
2020-11-02 19:21:11 -08:00
..
cf_options.cc Add a host location property to TableProperties (#7479) 2020-10-19 11:38:48 -07:00
cf_options.h Add a host location property to TableProperties (#7479) 2020-10-19 11:38:48 -07:00
configurable_helper.h Bring the Configurable options together (#5753) 2020-09-14 17:01:01 -07:00
configurable_test.cc Fix valgrind issues with configurable_test (#7424) 2020-09-23 09:34:01 -07:00
configurable_test.h Bring the Configurable options together (#5753) 2020-09-14 17:01:01 -07:00
configurable.cc Bring the Configurable options together (#5753) 2020-09-14 17:01:01 -07:00
db_options.cc Add a host location property to TableProperties (#7479) 2020-10-19 11:38:48 -07:00
db_options.h Add a host location property to TableProperties (#7479) 2020-10-19 11:38:48 -07:00
options_helper.cc Expand effect of dictionary settings in ColumnFamilyOptions::compression_opts (#7619) 2020-11-02 19:21:11 -08:00
options_helper.h Expand effect of dictionary settings in ColumnFamilyOptions::compression_opts (#7619) 2020-11-02 19:21:11 -08:00
options_parser.cc Return NotFound from TableFactory configuration errors during options loading (#7615) 2020-10-29 18:44:24 -07:00
options_parser.h Bring the Configurable options together (#5753) 2020-09-14 17:01:01 -07:00
options_settable_test.cc Add a host location property to TableProperties (#7479) 2020-10-19 11:38:48 -07:00
options_test.cc Revert LoadLatestOptions handling of ignore_unknown_options if versions differ (#7612) 2020-10-29 13:46:26 -07:00
options.cc Bring the Configurable options together (#5753) 2020-09-14 17:01:01 -07:00