Make multi_schema mainly hidden

As wiht other schemas - make the multi_backend schema mainly hidden
This commit is contained in:
Martin Sumner 2018-12-12 16:16:47 +00:00
parent 52c523dbab
commit f211e587f7

View file

@ -38,7 +38,8 @@
%% within term_to_binary %% within term_to_binary
{mapping, "multi_backend.$name.leveled.compression_method", "riak_kv.multi_backend", [ {mapping, "multi_backend.$name.leveled.compression_method", "riak_kv.multi_backend", [
{default, lz4}, {default, lz4},
{datatype, atom} {datatype, atom},
hidden
]}. ]}.
%% @doc Compression point %% @doc Compression point
@ -48,7 +49,8 @@
%% (compression is only attempted when compacting) %% (compression is only attempted when compacting)
{mapping, "multi_backend.$name.leveled.compression_point", "riak_kv.multi_backend", [ {mapping, "multi_backend.$name.leveled.compression_point", "riak_kv.multi_backend", [
{default, on_receipt}, {default, on_receipt},
{datatype, atom} {datatype, atom},
hidden
]}. ]}.
@ -56,7 +58,8 @@
%% Normally keep this as around the size of o(100K) objects. Default is 500MB %% Normally keep this as around the size of o(100K) objects. Default is 500MB
{mapping, "multi_backend.$name.leveled.journal_size", "riak_kv.multi_backend", [ {mapping, "multi_backend.$name.leveled.journal_size", "riak_kv.multi_backend", [
{default, 500000000}, {default, 500000000},
{datatype, integer} {datatype, integer},
hidden
]}. ]}.
%% @doc The number of journal compactions per vnode per day %% @doc The number of journal compactions per vnode per day
@ -64,7 +67,8 @@
%% recovered. But each run has a cost %% recovered. But each run has a cost
{mapping, "multi_backend.$name.leveled.compaction_runs_perday", "riak_kv.multi_backend", [ {mapping, "multi_backend.$name.leveled.compaction_runs_perday", "riak_kv.multi_backend", [
{default, 16}, {default, 16},
{datatype, integer} {datatype, integer},
hidden
]}. ]}.
%% @doc Compaction Low Hour %% @doc Compaction Low Hour
@ -73,7 +77,8 @@
%% regardless of time of day) %% regardless of time of day)
{mapping, "multi_backend.$name.leveled.compaction_low_hour", "riak_kv.multi_backend", [ {mapping, "multi_backend.$name.leveled.compaction_low_hour", "riak_kv.multi_backend", [
{default, 0}, {default, 0},
{datatype, integer} {datatype, integer},
hidden
]}. ]}.
%% @doc Compaction Top Hour %% @doc Compaction Top Hour
@ -82,7 +87,8 @@
%% hour and top hour (inclusive). Timings rely on server's view of local time %% hour and top hour (inclusive). Timings rely on server's view of local time
{mapping, "multi_backend.$name.leveled.compaction_top_hour", "riak_kv.multi_backend", [ {mapping, "multi_backend.$name.leveled.compaction_top_hour", "riak_kv.multi_backend", [
{default, 23}, {default, 23},
{datatype, integer} {datatype, integer},
hidden
]}. ]}.
%% @doc Max Journal Files Per Compaction Run %% @doc Max Journal Files Per Compaction Run
@ -90,7 +96,8 @@
%% which may be compacted. %% which may be compacted.
{mapping, "multi_backend.$name.leveled.max_run_length", "riak_kv.multi_backend", [ {mapping, "multi_backend.$name.leveled.max_run_length", "riak_kv.multi_backend", [
{default, 6}, {default, 6},
{datatype, integer} {datatype, integer},
hidden
]}. ]}.
%% @doc Target Percentage for Max Run %% @doc Target Percentage for Max Run