[ 
https://issues.apache.org/jira/browse/CASSANDRA-17188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17482593#comment-17482593
 ] 

Andres de la Peña commented on CASSANDRA-17188:
-----------------------------------------------

Multiple properties spread over the section for safety thresholds match this 
criterion, although without the global enable/disable flag and without being 
restricted to ordinary users. The migration tickets are for considering the 
migration of those properties, which might make more sense as a guardrail 
strictly associated to ordinary user queries.

The important part of guardrails is not how we arrange those properties on the 
yaml, but having an internal framework reusing validation, behaviour, error 
messages, etc. so we avoid code duplication and have a more consistent 
behaviour. That should ease both adding new limits and consistently modifying 
all of them at once. That's why any potential rearrangement of the config 
should be easier to do with guardrails than with the current scattered 
properties.

> Guardrails for consistency levels
> ---------------------------------
>
>                 Key: CASSANDRA-17188
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17188
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Feature/Guardrails
>            Reporter: Andres de la Peña
>            Assignee: Andres de la Peña
>            Priority: Normal
>             Fix For: 4.x
>
>
> Add guardrails for read/write consistency levels, for example:
> {code:java}
> # Guardrail to warn about or reject read consistency levels.
> # By default all consistency levels are allowed.
>     read_consistency_levels:
>         warned: []
>         disallowed: []
> # Guardrail to warn about or reject write consistency levels.
> # By default all consistency levels are allowed.
>     write_consistency_levels:
>         warned: []
>         disallowed: []
> {code}



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

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

Reply via email to