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

enrich system_views.pending_hints with hints sizes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 5.1-alpha1
    • Consistency/Hints
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              smiklosovic Stefan Miklosovic
              smiklosovic Stefan Miklosovic
              Stefan Miklosovic
              Berenguer Blasi
              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 - 1h 50m
                  1h 50m