rocksdb/options
Andrew Kryczka bb01c1880c Introduce max_background_jobs mutable option
Summary:
- `max_background_flushes` and `max_background_compactions` are still supported for backwards compatibility
- `base_background_compactions` is completely deprecated. Now we just throttle to one background compaction when there's no pressure.
- `max_background_jobs` is added to automatically partition the concurrent background jobs into flushes vs compactions. Currently it's very simple as we just allocate one-fourth of the jobs to flushes, and the remaining can be used for compactions.
- The test cases that set `base_background_compactions > 1` needed to be updated. I just grab the pressure token such that the desired number of compactions can be scheduled.
Closes https://github.com/facebook/rocksdb/pull/2205

Differential Revision: D4937461

Pulled By: ajkr

fbshipit-source-id: df52cbbd497e13bbc9a60560a5ac2a2526b3f1f9
2017-05-24 11:29:08 -07:00
..
cf_options.cc Support ingest_behind for IngestExternalFile 2017-05-17 11:42:42 -07:00
cf_options.h Support ingest_behind for IngestExternalFile 2017-05-17 11:42:42 -07:00
db_options.cc Introduce max_background_jobs mutable option 2017-05-24 11:29:08 -07:00
db_options.h Introduce max_background_jobs mutable option 2017-05-24 11:29:08 -07:00
options.cc Introduce max_background_jobs mutable option 2017-05-24 11:29:08 -07:00
options_helper.cc Introduce max_background_jobs mutable option 2017-05-24 11:29:08 -07:00
options_helper.h Introduce max_background_jobs mutable option 2017-05-24 11:29:08 -07:00
options_parser.cc AIX and Solaris Sparc Support 2017-04-21 20:48:04 -07:00
options_parser.h Move some files under util/ to separate dirs 2017-04-05 19:09:16 -07:00
options_sanity_check.cc Move some files under util/ to separate dirs 2017-04-05 19:09:16 -07:00
options_sanity_check.h Move some files under util/ to separate dirs 2017-04-05 19:09:16 -07:00
options_settable_test.cc Introduce max_background_jobs mutable option 2017-05-24 11:29:08 -07:00
options_test.cc Introduce max_background_jobs mutable option 2017-05-24 11:29:08 -07:00