rocksdb/examples
Hui Xiao 1e0e883ca5 Remove deprecated API AdvancedColumnFamilyOptions::soft_rate_limit/hard_rate_limit (#9452)
Summary:
**Context/Summary:**
AdvancedColumnFamilyOptions::soft_rate_limit/hard_rate_limit have been marked as deprecated and it's time to actually remove the code.
- Keep `soft_rate_limit`/`hard_rate_limit` in `cf_mutable_options_type_info` to prevent throwing `InvalidArgument` in `GetColumnFamilyOptionsFromMap` when reading an option file still with these options (e.g, old option file generated from RocksDB before the deprecation)
- Keep `soft_rate_limit`/`hard_rate_limit` in under `OptionsOldApiTest.GetOptionsFromMapTest` to test the case mentioned above.

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

Test Plan: Rely on my eyeball and CI

Reviewed By: ajkr

Differential Revision: D33804938

Pulled By: hx235

fbshipit-source-id: 133d49f7ec5238d7efceeb0a3122a5792a2b9945
2022-01-27 13:01:09 -08:00
..
.gitignore Support for single-primary, multi-secondary instances (#4899) 2019-03-26 16:45:31 -07:00
c_simple_example.c Make examples work on Windows (#7304) 2020-09-01 18:03:50 -07:00
CMakeLists.txt add WITH_EXAMPLES options to cmake and cleanups. (#6580) 2020-06-18 18:00:04 -07:00
column_families_example.cc Remove using namespace (#9369) 2022-01-12 09:31:12 -08:00
compact_files_example.cc Remove using namespace (#9369) 2022-01-12 09:31:12 -08:00
compaction_filter_example.cc Add (& fix) some simple source code checks (#8821) 2021-09-07 21:19:27 -07:00
Makefile make:Fix c header prototypes (#7994) 2021-03-09 20:44:23 -08:00
multi_processes_example.cc Make examples work on Windows (#7304) 2020-09-01 18:03:50 -07:00
optimistic_transaction_example.cc Remove using namespace (#9369) 2022-01-12 09:31:12 -08:00
options_file_example.cc Remove using namespace (#9369) 2022-01-12 09:31:12 -08:00
README.md Improve examples/README.md 2015-12-16 16:27:37 +01:00
rocksdb_option_file_example.ini Remove deprecated API AdvancedColumnFamilyOptions::soft_rate_limit/hard_rate_limit (#9452) 2022-01-27 13:01:09 -08:00
simple_example.cc Remove using namespace (#9369) 2022-01-12 09:31:12 -08:00
transaction_example.cc Remove using namespace (#9369) 2022-01-12 09:31:12 -08:00

  1. Compile RocksDB first by executing make static_lib in parent dir
  2. Compile all examples: cd examples/; make all