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

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

This new guardrail doesn't make any changes in the current structure and just 
adds to the already existent guardrails section. The new properties don't 
introduce measurement units and the only part that be mismatch CASSANDRA-15234 
is whether we use "fail" or "abort". I'd be happy waiting for CASSANDRA-15234 
if we think that the rebase it's easier. In the end we don't even have a 
reviewer for this ticket yet, CASSANDRA-15234 is almost ready, and I'm already 
waiting for that ticket before start working on other guardrails that will 
require measurement units. 

However, I don't think we should block any tickets adding new config properties 
until we do some other config refactoring, especially because I fear we'll 
always we waiting for some future config refactoring. I neither think we should 
block work on new features as a means to push forward a certain redesign of 
config that is yet to be agreed, especially if the features are ready and the 
redesign looks far away.

I understand that what we are discussing here is a general freeze of the config 
file, so no new properties can be added until we settle on a new design. If 
that's the case we should probably have a discussion on the mail list to 
globally impose that freeze, which can be done either before or after having 
agreed to that design.

CC [~e.dimitrova]

> 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