[
https://issues.apache.org/jira/browse/CASSANDRA-20647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17951305#comment-17951305
]
Reza Vaghefi commented on CASSANDRA-20647:
------------------------------------------
Checked on 3.11.14 and 3.11.19
{code:java}
$>bean -d org.apache.cassandra.metrics
name=LiveDiskSpaceUsed,type=Table,keyspace=cycling,scope=cyclist_name
#bean is set to
org.apache.cassandra.metrics:name=LiveDiskSpaceUsed,type=Table,keyspace=cycling,scope=cyclist_name
$>get -d org.apache.cassandra.metrics
name=LiveDiskSpaceUsed,type=Table,keyspace=cycling,scope=cyclist_name Count
#mbean =
org.apache.cassandra.metrics:name=LiveDiskSpaceUsed,type=Table,keyspace=cycling,scope=cyclist_name:
Count = 5193;
$>get -d org.apache.cassandra.metrics
name=LiveDiskSpaceUsed,type=Table,keyspace=cycling,scope=cyclist_name Count
#mbean =
org.apache.cassandra.metrics:name=LiveDiskSpaceUsed,type=Table,keyspace=cycling,scope=cyclist_name:
Count = -7028; {code}
> DiskSpaceUsed metrics for tables with SASI Index is corrupt
> -----------------------------------------------------------
>
> Key: CASSANDRA-20647
> URL: https://issues.apache.org/jira/browse/CASSANDRA-20647
> Project: Apache Cassandra
> Issue Type: Bug
> Reporter: Reza Vaghefi
> Priority: Normal
>
> The reported values for LiveDiskSpaceUsed and TotalDiskSpaceUsed metrics are
> incorrect for tables with SASI Index.
> The initial values seem to be correct, however, they get corrupted after each
> compaction and eventually drop to below zero (negative value).
> Restarting Cassandra resolves the issue.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]