rocksdb/options
mrambacher ec711b2315 Add Support for saving CompressionOptions to Options File (#6817)
Summary:
This PR does a few things:
- The "compression_opts" and "bottom_compression_opts" can now be read/written as name/value pairs of options (instead of only a colon-separated list;
- These options can now be read/written to the Options file;
- The parallel_threads value can now be set (either in the colon or name-value format).

The compression options are now stored and treated as a OptionTypeInfo::Struct by the options system, meaning they can be read and written like the other structs.  This change allows them to be read/written easily to the options file.

Additionally, the colon-format was extended to allow support for setting parallel threads.  Tests were added to test all of the option settings via the optional parameters in the colon format.

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

Reviewed By: ajkr

Differential Revision: D22396004

Pulled By: zhichao-cao

fbshipit-source-id: 38bcf74b7e9cd5bc2a84540fac2e9ba4f765b2c8
2020-07-16 19:06:31 -07:00
..
cf_options.cc Add Support for saving CompressionOptions to Options File (#6817) 2020-07-16 19:06:31 -07:00
cf_options.h make L0 index/filter pinned memory usage predictable (#6911) 2020-06-09 16:51:23 -07:00
db_options.cc Auto resume the DB from Retryable IO Error (#6765) 2020-07-15 11:03:58 -07:00
db_options.h Auto resume the DB from Retryable IO Error (#6765) 2020-07-15 11:03:58 -07:00
options_helper.cc Auto resume the DB from Retryable IO Error (#6765) 2020-07-15 11:03:58 -07:00
options_helper.h Add Struct Type to OptionsTypeInfo (#6425) 2020-05-21 10:58:39 -07:00
options_parser.cc Add Struct Type to OptionsTypeInfo (#6425) 2020-05-21 10:58:39 -07:00
options_parser.h Add Functions to OptionTypeInfo (#6422) 2020-04-28 18:04:26 -07:00
options_settable_test.cc Auto resume the DB from Retryable IO Error (#6765) 2020-07-15 11:03:58 -07:00
options_test.cc Add Support for saving CompressionOptions to Options File (#6817) 2020-07-16 19:06:31 -07:00
options_type.h Add OptionTypeInfo::Vector to parse/serialize vectors (#6424) 2020-06-03 12:23:07 -07:00
options.cc Allow MultiGet users to limit cumulative value size (#6826) 2020-05-27 13:07:14 -07:00