You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Josh McKenzie (Jira)" <ji...@apache.org> on 2022/09/19 19:25:00 UTC
[jira] [Commented] (CASSANDRA-17810) Revise timeout handling on queries triggering timeout introduced by CASSANDRA-7392
[ https://issues.apache.org/jira/browse/CASSANDRA-17810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17606730#comment-17606730 ]
Josh McKenzie commented on CASSANDRA-17810:
-------------------------------------------
Circled back to this. Had a NPE from the new config that can be nulled out vs. old. New PR + CI here:
||Item|Link||
|PR|[link|https://github.com/apache/cassandra/pull/1867]|
|JDK8 CI|[link|https://app.circleci.com/pipelines/github/josh-mckenzie/cassandra/302/workflows/9a2487a9-1409-469b-a0ed-b1773f9fe8fa]|
|JDK11 CI|[link|https://app.circleci.com/pipelines/github/josh-mckenzie/cassandra/302/workflows/b2080df9-0c30-4bc5-b281-0fcd44b92423]|
> Revise timeout handling on queries triggering timeout introduced by CASSANDRA-7392
> ----------------------------------------------------------------------------------
>
> Key: CASSANDRA-17810
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17810
> Project: Cassandra
> Issue Type: Bug
> Components: Messaging/Internode
> Reporter: Josh McKenzie
> Assignee: Josh McKenzie
> Priority: Normal
>
> In situations where a replica times out with the code introduced in CASSANDRA-7392, they drop the timed-out query on the floor without notifying the coordinator; this doesn't become apparent coordinator-side until we go to serialize the response. While the results of this (i.e. missed data) should mostly be fixed by short read protection on repeat requests, the coordinator can in some cases throw an exception like {{IllegalStateException: UnfilteredRowIterator for keyspace.table has an open RT bound as its last item}} which is decidedly unfriendly.
> We should introduce a specific exception to allow replicas to notify a coordinator something has timed out and been dropped on the floor so the coordinator can appropriately handle that scenario and abort the query at that time.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org