You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Rui Wang (Jira)" <ji...@apache.org> on 2020/11/13 06:09:00 UTC
[jira] [Commented] (RATIS-1153) Implement
ChannelInboundHandler.exceptionCaught in NettyServerStreamRpc
[ https://issues.apache.org/jira/browse/RATIS-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17231190#comment-17231190 ]
Rui Wang commented on RATIS-1153:
---------------------------------
+1
I believe without handling exceptions some times the program will hang.
> Implement ChannelInboundHandler.exceptionCaught in NettyServerStreamRpc
> -----------------------------------------------------------------------
>
> Key: RATIS-1153
> URL: https://issues.apache.org/jira/browse/RATIS-1153
> Project: Ratis
> Issue Type: Sub-task
> Components: Streaming
> Reporter: Tsz-wo Sze
> Assignee: Tsz-wo Sze
> Priority: Major
>
> https://netty.io/4.1/api/io/netty/channel/ChannelInboundHandler.html#exceptionCaught-io.netty.channel.ChannelHandlerContext-java.lang.Throwable-
> {code}
> //ChannelInboundHandler
> void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception
> {code}
> We should implement the above method to handle exceptions in NettyServerStreamRpc.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)