[
https://issues.apache.org/jira/browse/CASSANDRA-16850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17398374#comment-17398374
]
David Capwell edited comment on CASSANDRA-16850 at 8/13/21, 1:42 AM:
---------------------------------------------------------------------
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("AbortTombstones"));
abortReadSizes = Metrics.meter(factory.createMetricName("AbortReadSizes"));
{code}
was (Author: dcapwell):
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: [email protected]
For additional commands, e-mail: [email protected]