[
https://issues.apache.org/jira/browse/CASSANDRA-19486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17830543#comment-17830543
]
Stefan Miklosovic commented on CASSANDRA-19486:
-----------------------------------------------
It will be better if we leave nodetool behind and put this only to CQL vtable
system_views.pending_hints. Also, I think that having two methods on JMX MBean
wont kill anybody, we can still have JMX way to query that but not on nodetool
for some emergency situations / custom admin jmx tooling.
> Add method for sizes of hints and hints per node in HintsServiceMBean
> ---------------------------------------------------------------------
>
> Key: CASSANDRA-19486
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19486
> Project: Cassandra
> Issue Type: Improvement
> Components: Consistency/Hints
> Reporter: Stefan Miklosovic
> Assignee: Stefan Miklosovic
> Priority: Normal
> Fix For: 5.x
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> I am happy to close this if somebody shows me how to get total size of all
> hints or all hints per particular node via JMX.
> I could find StorageMetrics.totalHints but that is how many hints there are,
> not their sizes. We also have
> org.apache.cassandra.metrics:type=HintedHandOffManager name=<MetricName>
> org.apache.cassandra.metrics:type=HintsService name=<MetricName>
> But that is again showing other metrics not sizes.
> I would add two methods into HintsServiceMBean returning this. Seems to be
> very easy to do once we do CASSANDRA-19477.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]