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 2019/09/21 01:33:00 UTC

[jira] [Commented] (CASSANDRA-15331) When streaming tries to open a file and gets a exception it re-throws as a normal runtime exception

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

David Capwell commented on CASSANDRA-15331:
-------------------------------------------

Found with the following in-JVM dtest: https://github.com/dcapwell/cassandra/blob/repairDtest/test/distributed/org/apache/cassandra/distributed/test/FailingRepairTest.java

> When streaming tries to open a file and gets a exception it re-throws as a normal runtime exception
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-15331
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15331
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Consistency/Streaming
>            Reporter: David Capwell
>            Priority: Normal
>
> When streaming attempts to create a org.apache.cassandra.io.util.ChannelProxy from a file, it tries to open and if a IOException is thrown, re-throws as a normal RuntimeException; should be org.apache.cassandra.io.FSReadError



--
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