mirror of https://github.com/apache/cassandra
Set stream ID on response for non-Exception Throwables
Patch by Tyler Hobbs; reviewed by Aleksey Yeschenko for CASSANDRA-7470
This commit is contained in:
parent
5a658be5ed
commit
0d90b03a30
|
|
@ -1,3 +1,7 @@
|
|||
1.2.19
|
||||
* Set correct stream ID on responses when non-Exception Throwables
|
||||
are thrown while handling native protocol messages (CASSANDRA-7470)
|
||||
|
||||
1.2.18
|
||||
* Support Thrift tables clustering columns on CqlPagingInputFormat (CASSANDRA-7445)
|
||||
* Fix compilation with java 6 broke by CASSANDRA-7147
|
||||
|
|
|
|||
|
|
@ -293,7 +293,7 @@ public abstract class Message
|
|||
|
||||
ctx.getChannel().write(response);
|
||||
}
|
||||
catch (Exception ex)
|
||||
catch (Throwable ex)
|
||||
{
|
||||
// Don't let the exception propagate to exceptionCaught() if we can help it so that we can assign the right streamID.
|
||||
ctx.getChannel().write(ErrorMessage.fromException(ex).setStreamId(request.getStreamId()));
|
||||
|
|
|
|||
Loading…
Reference in New Issue