commit | 89fe01fdada8ffdd7afc8aed7521f8c1c99d23f8 | [log] [tgz] |
---|---|---|
author | iilyak <iilyak@users.noreply.github.com> | Tue Feb 19 11:37:20 2019 -0800 |
committer | GitHub <noreply@github.com> | Tue Feb 19 11:37:20 2019 -0800 |
tree | 1ce63e82ea894a9ffabbee9fd16c559f0ac9722e | |
parent | aa88b1ea824f6ea41d1754a43d317477d39a25ac [diff] | |
parent | b5b801abc02f820ad4a6ada202270015eafc1ba9 [diff] |
Merge pull request #8 from cloudant/update_handle_config_terminate Reconfigure IOQ on config update
The following are the list of IOQ classes:
One can configure an ioq bypass, which removes an IO class from prioritization, as below:
config:set("ioq.bypass", "view_update", "true")
Note that setting an IOQ bypass can effectively trump all other classes, especially in the case of an interactive bypass v. compaction. This can lead to high disk usage.
The priority for a class can also be set ala:
config:set("ioq", "compaction", "0.3")
Or globally, using snippet/rpc:
s:set_config("ioq", "compaction", "0.314", global) rpc:multicall(config, set, ["ioq", "compaction", "0.217"])
As the interactive class is ‘everything else’ its priority cannot be directly set.