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

Caleb Rackliffe edited comment on CASSANDRA-17212 at 12/16/21, 1:54 AM:
------------------------------------------------------------------------

Just an aside, there's a mechanism in CASSANDRA-15234 to automatically 
translate old YAML option names to new ones, the {{@Replaces}} annotation. I'm 
not sure if it works translating from non-nested to nested though...


was (Author: maedhroz):
Just an aside, there's [a 
mechanism|https://github.com/ekaterinadimitrova2/cassandra/pull/191/files?authenticity_token=sJmDGDBnNmsM1hvUl53SB%2BLF1Wu3figjB1J36vgRc3daSXvF%2FLdEBfHFVAKs%2BnMIS60xF178btDObW4YmbzEXA%3D%3D&file-filters%5B%5D=.java&file-filters%5B%5D=.rst&file-filters%5B%5D=.sh&file-filters%5B%5D=.spec&file-filters%5B%5D=.txt&file-filters%5B%5D=.yaml&file-filters%5B%5D=.yml&hide-deleted-files=true#diff-c0183ea76992a610729dcd0482fc92842d9e19e1d8bc1692944bcab153ecc134R34]
 in CASSANDRA-15234 to automatically translate old YAML option names to new 
ones, the {{@Replaces}} annotation. I'm not sure if it works translating from 
non-nested to nested though...

> Migrate threshold for minimum keyspace replication factor to guardrails
> -----------------------------------------------------------------------
>
>                 Key: CASSANDRA-17212
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17212
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Feature/Guardrails
>            Reporter: Andres de la Peña
>            Priority: Normal
>
> The config property 
> [{{minimum_keyspace_rf}}|https://github.com/apache/cassandra/blob/5fdadb25f95099b8945d9d9ee11d3e380d3867f4/conf/cassandra.yaml]
>  that was added by CASSANDRA-14557 can be migrated to guardrails, for example:
> {code}
> guardrails:
>     ...
>     replication_factor:
>         warn_threshold: 2
>         abort_threshold: 3
> {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