rocksdb/options
Jay Zhuang 42eaa45c1b Avoid updating option if there's no value updated (#8518)
Summary:
Try avoid expensive updating options operation if
`SetDBOptions()` does not change any option value.
Skip updating is not guaranteed, for example, changing `bytes_per_sync`
to `0` may still trigger updating, as the value could be sanitized.

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

Test Plan: added unittest

Reviewed By: riversand963

Differential Revision: D29672639

Pulled By: jay-zhuang

fbshipit-source-id: b7931de62ceea6f1bdff0d1209adf1197d3ed1f4
2021-07-21 13:45:59 -07:00
..
cf_options.cc Fix Immutable Customizable Serialization (#8457) 2021-06-28 12:28:28 -07:00
cf_options.h Added static methods for simple types to OptionTypeInfo (#8249) 2021-05-11 16:15:47 -07:00
configurable_helper.h Add customizable_util.h to the public API (#8301) 2021-06-29 09:08:57 -07:00
configurable_test.cc Move RegisterOptions into the Configurable API (#8223) 2021-04-26 03:13:24 -07:00
configurable_test.h Move RegisterOptions into the Configurable API (#8223) 2021-04-26 03:13:24 -07:00
configurable.cc Allow CreateFromString to work on complex URIs (#8547) 2021-07-16 15:05:45 -07:00
customizable_test.cc Allow CreateFromString to work on complex URIs (#8547) 2021-07-16 15:05:45 -07:00
customizable.cc Fix PrepareOptions for Customizable Classes (#8468) 2021-06-30 14:09:36 -07:00
db_options.cc Avoid updating option if there's no value updated (#8518) 2021-07-21 13:45:59 -07:00
db_options.h Avoid updating option if there's no value updated (#8518) 2021-07-21 13:45:59 -07:00
options_helper.cc Allow CreateFromString to work on complex URIs (#8547) 2021-07-16 15:05:45 -07:00
options_helper.h Added static methods for simple types to OptionTypeInfo (#8249) 2021-05-11 16:15:47 -07:00
options_parser.cc Refactor: add LineFileReader and Status::MustCheck (#8026) 2021-03-09 20:12:38 -08:00
options_parser.h Bring the Configurable options together (#5753) 2020-09-14 17:01:01 -07:00
options_settable_test.cc Cache warming data blocks during flush (#8242) 2021-06-17 21:56:47 -07:00
options_test.cc Memtable "MemPurge" prototype (#8454) 2021-07-02 05:23:02 -07:00
options.cc Limit buffering for collecting samples for compression dictionary (#7970) 2021-02-19 14:09:54 -08:00