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

For LCS compaction sessions, have compactionstats to print out src_level and dst_level

    XMLWordPrintableJSON

Details

    Description

      It seems that we use reportCompactionTable() function in o.a.c.tools.nodetool.CompactionStats to print out the information for each compaction session, which already has access to compactionID according to this line. This means it should not be hard to get the source level and destination level from a LCS compaction ID. If we could add two additional columns "src_level" and "dst_level" whenever we detect a particular compaction session is using LeveledCompactionStrategy, it would be very helpful in understanding the progress LCS is making and what all of the concurrent compaction sessions are doing for people observing the compactions in real-time. For none-LCS compaction sessions, these two columns can just print empty strings.

      Attachments

        Activity

          People

            Unassigned Unassigned
            weideng Wei Deng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: