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

Stefan Miklosovic commented on CASSANDRA-19552:
-----------------------------------------------

Because we are parsing the methods of GuardrailsMBean and converting the method 
names to guardrail names, with a method added like this, we would get three 
outputs:

keyspaces_warn_threshold -1
keyspaces_fail_threshold -1
keyspaces_threshold ??? (probably [-1,1])

I would also expect that the output of "getguardrailsconfig" is the name of a 
guardrail as it is mentioned in cassandra.yaml. There are two distinct 
guardrails, each for warn and fail threshold. 


> Nodetool to get/set guardrails configurations
> ---------------------------------------------
>
>                 Key: CASSANDRA-19552
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19552
>             Project: Apache Cassandra
>          Issue Type: Improvement
>          Components: Feature/Guardrails
>            Reporter: Yuqi Yan
>            Assignee: Stefan Miklosovic
>            Priority: Normal
>             Fix For: 4.1.10, 5.0.5, 5.1
>
>          Time Spent: 4h 50m
>  Remaining Estimate: 0h
>
> Currently guardrails are only configurable through JMX / cassandra.yaml
> This provides a nodetool command to interact with all the getters/setters for 
> guardrails.
>  
> 4.1 PR: [https://github.com/apache/cassandra/pull/3243]
> trunk PR: [https://github.com/apache/cassandra/pull/3244]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to