rocksdb/options
sdong 7508175558 Introduce options.check_flush_compaction_key_order (#7467)
Summary:
Introduce an new option options.check_flush_compaction_key_order, by default set to true, which checks key order of flush and compaction, and fail the operation if the order is violated.
Also did minor refactor hash checking code, which consolidates the hashing logic to a vlidation class, where the key ordering logic is added.

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

Test Plan: Add unit tests to validate the check can catch reordering in flush and compaction, and can be properly disabled.

Reviewed By: riversand963

Differential Revision: D24010683

fbshipit-source-id: 8dd6292d2cda8006054e9ded7cfa4bf405f0527c
2020-10-01 10:10:26 -07:00
..
cf_options.cc Introduce options.check_flush_compaction_key_order (#7467) 2020-10-01 10:10:26 -07:00
cf_options.h Introduce options.check_flush_compaction_key_order (#7467) 2020-10-01 10:10:26 -07:00
configurable.cc Bring the Configurable options together (#5753) 2020-09-14 17:01:01 -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
db_options.cc Provide users with option to opt-in to get corrupt data in logs/messages (#7420) 2020-09-29 23:17:45 -07:00
db_options.h Provide users with option to opt-in to get corrupt data in logs/messages (#7420) 2020-09-29 23:17:45 -07:00
options.cc Bring the Configurable options together (#5753) 2020-09-14 17:01:01 -07:00
options_helper.cc Introduce options.check_flush_compaction_key_order (#7467) 2020-10-01 10:10:26 -07:00
options_helper.h Bring the Configurable options together (#5753) 2020-09-14 17:01:01 -07:00
options_parser.cc Bring the Configurable options together (#5753) 2020-09-14 17:01:01 -07:00
options_parser.h Bring the Configurable options together (#5753) 2020-09-14 17:01:01 -07:00
options_settable_test.cc Introduce options.check_flush_compaction_key_order (#7467) 2020-10-01 10:10:26 -07:00
options_test.cc Bring the Configurable options together (#5753) 2020-09-14 17:01:01 -07:00