You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "David Capwell (Jira)" <ji...@apache.org> on 2021/08/13 01:43:00 UTC

[jira] [Commented] (CASSANDRA-16850) Add client warnings and abort to tombstone and coordinator reads which go past a low/high watermark

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

David Capwell commented on CASSANDRA-16850:
-------------------------------------------

bq. for the new ClientRequestMetrics, we should track tombstone and size aborts separately

they are tracked at the keyspace/table level differently; you are saying the global one should as well?  if so did you want a tombstone abort and read size abort?

so

{code}
aborts = Metrics.meter(factory.createMetricName("Aborts"));
abortTombstones = Metrics.meter(factory.createMetricName("Abort Tombstones"));
abortReadSizes = Metrics.meter(factory.createMetricName("AbortReadSizes"));
{code}

> Add client warnings and abort to tombstone and coordinator reads which go past a low/high watermark
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-16850
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16850
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Observability/Logging
>            Reporter: David Capwell
>            Assignee: David Capwell
>            Priority: Normal
>             Fix For: 4.1
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> We currently will abort queries if we hit too many tombstones, but its common that we would want to also warn clients (client warnings) about this before we get that point; its also common that different logic would like to be able to warn/abort about client options (such as reading a large partition).  To allow this we should add a concept of low/high watermarks (warn/abort) to tombstones and coordinator reads.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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