[
https://issues.apache.org/jira/browse/CASSANDRA-18940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17783311#comment-17783311
]
Caleb Rackliffe commented on CASSANDRA-18940:
---------------------------------------------
[~rustyrazorblade] originally pointed out the issue. What would you want as an
operator? A single metric that includes all local reads from all sources, or
splitting out the local reads that come from SAI?
> SAI post-filtering reads don't update local table latency metrics
> -----------------------------------------------------------------
>
> Key: CASSANDRA-18940
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18940
> Project: Cassandra
> Issue Type: Bug
> Components: Feature/2i Index, Feature/SAI, Observability/Metrics
> Reporter: Caleb Rackliffe
> Assignee: Caleb Rackliffe
> Priority: Normal
> Fix For: 5.0-beta, 5.x
>
> Attachments:
> draft_fix_for_SAI_post-filtering_reads_not_updating_local_table_metrics.patch
>
>
> Once an SAI index finds matches (primary keys), it reads the associated rows
> and post-filters them to incorporate partial writes, tombstones, etc.
> However, those reads are not currently updating the local table latency
> metrics. It should be simple enough to attach a metrics recording
> transformation to the iterator produced by querying local storage. (I've
> attached a patch that should apply cleanly to trunk, but there may be a
> better way...)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]