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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to