[ https://issues.apache.org/jira/browse/CASSANDRA-18632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17738190#comment-17738190 ]
Raymond Huffman commented on CASSANDRA-18632: --------------------------------------------- We have our own implementation of a Cassandra sidecar that uses JMX primarily since it was originally implemented before virtual tables were a thing. After re-reading the code more closely, it appears that the state I'm interested in is already stored in Cache<UUID, StreamingState> states, so my patch is redundant. Happy to close out this ticket, thanks for the help! > Save state about completed streams and display in nodetool netstats > ------------------------------------------------------------------- > > Key: CASSANDRA-18632 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18632 > Project: Cassandra > Issue Type: Improvement > Components: Observability/JMX > Reporter: Raymond Huffman > Assignee: Raymond Huffman > Priority: Normal > Fix For: 5.x > > Time Spent: 10m > Remaining Estimate: 0h > > We monitor Bootstraps in progress by polling > StreamManagerMBean.getCurrentStreams(). While this gives us good signal for > how a bootstrap is progressing, we'd also like to check that all streams have > completed successfully when a node has finished bootstrapping. > This patch adds a separate map in StreamManager to track completed streams, > and reports those stream summaries in > StreamManagerMBean.getCompletedStreams() and .getAllStreams() > It also adds an option to nodetool netstats to display completed streams > alongside the current streams. > https://github.com/apache/cassandra/pull/2453 -- 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