[ 
https://issues.apache.org/jira/browse/CASSANDRA-21710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francisco Guerrero updated CASSANDRA-21710:
-------------------------------------------
    Test and Documentation Plan: Unit tests surfacing the issue + in-jvm test 
with smaller delay which uncovered the issue.
                         Status: Patch Available  (was: In Progress)

https://github.com/apache/cassandra/pull/5199

> Preserve the original exception when an in-memory local response fails to 
> close
> -------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-21710
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21710
>             Project: Apache Cassandra
>          Issue Type: Bug
>          Components: Local/Other
>            Reporter: Francisco Guerrero
>            Assignee: Francisco Guerrero
>            Priority: Normal
>             Fix For: 6.0-alpha3, 7.0
>
>
> {{InMemoryDataResponse.build}} closes the row iterator in a finally block, so 
> a failure from {{iter.close()}} will shadow the already in-flight exception. 
> In the test where I noticed this issue, a read aborted by 
> {{ReadCommand.QueryCancellationChecker}} leaves a partition that can end on 
> an open range tombstone bound, which the {{PROCESSED RTBoundValidator}} 
> rejects on close. The client is seeing a {{ReadFailureException}} instead of 
> a {{ReadTimeoutException}}. We should instead accumulate the failures into 
> the current exception, mirroring what the serialized path already does by 
> closing through try-with-resources.
> This behavior change was introduced in CASSANDRA-21354



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to