[ https://issues.apache.org/jira/browse/CASSANDRA-19552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18004138#comment-18004138 ]
Stefan Miklosovic edited comment on CASSANDRA-19552 at 7/9/25 12:49 PM: ------------------------------------------------------------------------ In 5.0, there is currently no management tooling around guardrails except JMX methods under GuardrailsMBean which can be invoked e.g. by JConsole or similar. I am not completely sure whether the fact that we have exposed JMX methods to manage guardrails in runtime justified / warrants that nodetool has to have commands talking to that. It just seems like unnecessary step towards the end goal which is CQL. It is as if we integrated nodetool with MBean methods just for the sake of it. Also, the way it is done in the patch is that if some guardrail is changed still via JMX, that value will be also changed in CQL when one selects etc. was (Author: smiklosovic): In 5.0, there is currently no management tooling around guardrails except JMX methods under GuardrailsMBean which can be invoked e.g. by JConsole or similar. I am not completely sure whether the fact that we have exposed JMX methods to manage guardrails in runtime justified / warrants that nodetool has to have commands talking to that. It just seems like unnecessary step towards the end goal which is CQL. It is as if we integrated nodetool with MBean methods just for the sake of it. > 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: Yuqi Yan > Priority: Normal > Fix For: 4.1.x > > Time Spent: 20m > 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