Skip to content

Commit

Permalink
Update riak_kv.schema
Browse files Browse the repository at this point in the history
Add config switch for `defer_reap_on_failure`
  • Loading branch information
martinsumner committed Aug 8, 2023
1 parent 7899683 commit a90b129
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions priv/riak_kv.schema
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,19 @@
{commented, 2}
]}.

%% @doc Deferred reap on failure
%% Should one or more primaries be unavilable the reap following delete will
%% not be triggered. Rather than being ignored, it can be deferred by enabling
%% defer_reap_on_failure. This will queue the reap on the reaper untill all
%% primaries are available. The reaper queue will be erased on restart, so
%% further failure may lead to the loss of deferred reaps
{mapping, "defer_reap_on_failure", "riak_kv.defer_reap_on_failure", [
{datatype, flag},
{default, on},
hidden
]}.


%% @doc Whether to allow node to participate in coverage queries.
%% This is used as a manual switch to stop nodes in incomplete states
%% (E.g. doing a full partition repair, or node replace) from participating
Expand Down

0 comments on commit a90b129

Please sign in to comment.