You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Josh McKenzie (Jira)" <ji...@apache.org> on 2022/07/25 20:24:00 UTC

[jira] [Comment Edited] (CASSANDRA-17774) Implement SSTable count by TWCS bucket

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

Josh McKenzie edited comment on CASSANDRA-17774 at 7/25/22 8:23 PM:
--------------------------------------------------------------------

Good call; working on upstreaming some existing code and it predated virtual tables. Will look at adding this into the patch.

Actually, maybe. [~paulo] - is there a precedent in the virtual table infra for this kind of data (visualization of int[], metrics across levels)? Looks like we haven't implemented one for {{getSSTableCountPerLevel}} and from a cursory inspection of things that extend {{VirtualTable}} I'm not seeing any obvious candidates to base an implementation off of.

If this represents a visualization of a new pattern of data, I'd advocate for a follow-up JIRA where we construct that and then apply it to both TWCS buckets and levels both and expose that data. wdyt?


was (Author: jmckenzie):
Good call; working on upstreaming some existing code and it predated virtual tables. Will look at adding this into the patch.

> Implement SSTable count by TWCS bucket
> --------------------------------------
>
>                 Key: CASSANDRA-17774
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17774
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Local/Compaction/TWCS
>            Reporter: Josh McKenzie
>            Assignee: Josh McKenzie
>            Priority: Normal
>
> It should be possible to report the total number of sstables in buckets by using a JMX call {{getSSTableCountPerTWCSBucket()}}, similarly to {{getSSTableCountPerLevel()}}. This will help us to assert the compaction strategy is able to keep up with major compactions on older time buckets.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org