commit | 6abecf97f0caff1f5ea11deb92a02d689ce4eb17 | [log] [tgz] |
---|---|---|
author | Jay Doane <jaydoane@apache.org> | Tue Oct 11 15:40:02 2022 -0700 |
committer | Jay Doane <jay.s.doane@gmail.com> | Tue Oct 11 22:40:36 2022 -0700 |
tree | 51d8bdb40ad24db3fda70fd383ee46cc3508e925 | |
parent | f8661b6be4583ba887213c8e48dca4fca81e647c [diff] |
Fix compiler warnings - test/ioq_tests.erl:14:2: Warning: export_all flag enabled - all functions will be exported - src/ioq_server2.erl:857: Warning: the result of the expression is ignored (suppress the warning by assigning the expression to the _ variable) - src/ioq/src/ioq_server2.erl:928:52: Warning: variable 'RL' is unused - test/ioq_kv_tests.erl:125:14: Warning: random:uniform/1 is deprecated; use the 'rand' module instead
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.