Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-18632

Save state about completed streams and display in nodetool netstats

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • 5.x
    • Observability/JMX
    • None
    • Operability
    • Normal
    • All
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              rmhuffman Raymond Huffman
              rmhuffman Raymond Huffman
              Raymond Huffman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m