[
https://issues.apache.org/jira/browse/CASSANDRA-8527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16295331#comment-16295331
]
Alexander Dejanovski commented on CASSANDRA-8527:
-------------------------------------------------
The branch containing the patch is here :
https://github.com/thelastpickle/cassandra/tree/CASSANDRA-8527-trace-range-tombstones
Instead of counting range tombstones, the plan here is to count all rows that
are "not live" and account for them in the tombstone threshold.
Tracing has been adjusted as follows :
{noformat}
WARN [ReadStage-2] 2017-12-18 18:22:31,352 ReadCommand.java:491 - Read 2086
live rows, 2440 deleted rows and 0 tombstone cells for query...
{noformat}
And {{nodetool tablestats}} reports them as follows :
{noformat}
Average live cells per slice (last five minutes): 2299.0
Maximum live cells per slice (last five minutes): 2299
Average deleted cells per slice (last five minutes): 2759.0
Maximum deleted cells per slice (last five minutes): 2759
Average tombstones per slice (last five minutes): 1.0
Maximum tombstones per slice (last five minutes): 1
{noformat}
This patch would be a good thing to contribute to 3.11.x since we can run into
major read performance issues due to range tombstones, but no metric to help
diagnosing.
Not sure it can pass as anything else than a new feature though.
> Account for range tombstones wherever we account for tombstones
> ---------------------------------------------------------------
>
> Key: CASSANDRA-8527
> URL: https://issues.apache.org/jira/browse/CASSANDRA-8527
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Sylvain Lebresne
> Assignee: Alexander Dejanovski
> Fix For: 4.x
>
>
> As discussed in CASSANDRA-8477, we should make sure the tombstone thresholds
> also apply to range tombstones, since they poses the same problems than cell
> tombstones.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]