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

Marcus Eriksson edited comment on CASSANDRA-15852 at 8/17/20, 11:42 AM:
------------------------------------------------------------------------

pushed an update

Can't change the exception type since this is thrown on replica side and we 
don't re-throw the same exception on the stream coordinator, we only know that 
it failed, not why. Added a boolean in the bytebuddy redefine to make sure we 
have thrown the correct exception on the replica.


was (Author: krummas):
pushed an update

Can't change the exception type since this is thrown on replica side and we 
don't re-throw the same exception on the stream coordinator, we only know that 
it failed, now why. Added a boolean in the bytebuddy redefine to make sure we 
have thrown the correct exception on the replica.

> Handle errors in StreamSession#prepare
> --------------------------------------
>
>                 Key: CASSANDRA-15852
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15852
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Consistency/Streaming
>            Reporter: Marcus Eriksson
>            Assignee: Marcus Eriksson
>            Priority: Normal
>             Fix For: 4.0-beta
>
>
> Since CASSANDRA-12229 we don't handle errors in {{StreamSession#prepare}} - 
> this makes a stream initiator hang forever if an error is thrown.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to