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

Brandon Williams commented on CASSANDRA-18632:
----------------------------------------------

The problem with doing this is the node may complete tens of thousands (or 
more) streams in its (running) lifetime from repairs, etc.  Tracking all of 
them forever is probably not desirable.

> 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

Reply via email to