rocksdb/options
sdong 94f90ac6bc compression related options are not copied back from MutableCFOptions… (#6668)
Summary:
… to CFOptions
https://github.com/facebook/rocksdb/pull/6615 made several compression related options dynamically changeable. They are moved to MutableCFOptions. However, they are not copied back to ColumnFamilyOptions, so the changed values are not written to option files and for some other uses. Fix it by copying them back.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6668

Test Plan: Add a unit test to make sure that when a MutableCFOptions is converted to CFOptions and back to MutableCFOptions, they stay the same. This test would fail without the fix.

Reviewed By: ajkr

Differential Revision: D20923999

fbshipit-source-id: c3bccd6923b00d677764e2269bed6a95ad7ed780
2020-04-08 14:40:46 -07:00
..
cf_options.cc Move the OptionTypeMap code closer to home (#6198) 2020-04-03 10:52:38 -07:00
cf_options.h Make options.bottommost_compression, compression_opts and bottommost_compression_opts dynamically changeable. (#6615) 2020-03-31 12:11:42 -07:00
db_options.cc Move the OptionTypeMap code closer to home (#6198) 2020-04-03 10:52:38 -07:00
db_options.h Use FileChecksumGenFactory for SST file checksum (#6600) 2020-03-29 15:58:46 -07:00
options_helper.cc compression related options are not copied back from MutableCFOptions… (#6668) 2020-04-08 14:40:46 -07:00
options_helper.h Move the OptionTypeMap code closer to home (#6198) 2020-04-03 10:52:38 -07:00
options_parser.cc Move the OptionTypeMap code closer to home (#6198) 2020-04-03 10:52:38 -07:00
options_parser.h Replace namespace name "rocksdb" with ROCKSDB_NAMESPACE (#6433) 2020-02-20 12:09:57 -08:00
options_sanity_check.cc Replace namespace name "rocksdb" with ROCKSDB_NAMESPACE (#6433) 2020-02-20 12:09:57 -08:00
options_sanity_check.h Replace namespace name "rocksdb" with ROCKSDB_NAMESPACE (#6433) 2020-02-20 12:09:57 -08:00
options_settable_test.cc compression related options are not copied back from MutableCFOptions… (#6668) 2020-04-08 14:40:46 -07:00
options_test.cc Add pipelined & parallel compression optimization (#6262) 2020-04-01 16:40:18 -07:00
options_type.h Move the OptionTypeMap code closer to home (#6198) 2020-04-03 10:52:38 -07:00
options.cc Add pipelined & parallel compression optimization (#6262) 2020-04-01 16:40:18 -07:00