You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Andres de la Peña (Jira)" <ji...@apache.org> on 2021/12/06 17:10:00 UTC

[jira] [Created] (CASSANDRA-17193) Migrate threshold for logged/unlogged batches to guardrails

Andres de la Peña created CASSANDRA-17193:
---------------------------------------------

             Summary: Migrate threshold for logged/unlogged batches to guardrails
                 Key: CASSANDRA-17193
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17193
             Project: Cassandra
          Issue Type: New Feature
          Components: Feature/Guardrails
            Reporter: Andres de la Peña


Migrate the existing thresholds for logged/unlogged batches:
{code}
batch_size_warn_threshold_in_kb: 5
batch_size_fail_threshold_in_kb: 50
unlogged_batch_across_partitions_warn_threshold: 10
{code}
To a pair of new guardrails under the guardrails section, for example:
{code}
guardrails:
    ...
    batch_size:
        warn_threshold_in_kb: 5
        abort_threshold_in_kb: 50
    unlogged_batch_across_partitions:
        warn_threshold: 10
{code}
At the moment these thresholds are enabled by default, while guardrails are globally disabled by default, so we should consider whether we want to globally enable guardrails, or change these thresholds to disabled by default, or don't migrate the thresholds.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org