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/16 07:45:00 UTC

[jira] [Comment Edited] (RATIS-1159) RATIS-1159. Wait ChannelFuture be completed before getting the local address of the channel

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

Rui Wang edited comment on RATIS-1159 at 11/16/20, 7:44 AM:
------------------------------------------------------------

[~yjxxtd]

I think this is the root cause for the timeout. In CI you can only see the test failed due to timeout. But if you reproduce it locally, then you will be able to see the complete Ratis log there you could see this NPE. 

Note that I found the in the past NPE in NettyServerStreamRpc usually cause itself hang (thus timeout eventually) . I hope RATIS-1153 could solve the issue by handling more exceptions. 


was (Author: amaliujia):
[~yjxxtd]

I think this is the root cause for the timeout. In CI you can only see the test failed due to timeout. But if you reproduce it locally, then you will be able to see the complete Ratis log there you could see this NPE. 

Note that I found the in the past NPE in NettyServerStreamRpc usually cause itself hang. I hope RATIS-1153 could solve the issue by handling more exceptions. 

> RATIS-1159. Wait ChannelFuture be completed before getting the local address of the channel
> -------------------------------------------------------------------------------------------
>
>                 Key: RATIS-1159
>                 URL: https://issues.apache.org/jira/browse/RATIS-1159
>             Project: Ratis
>          Issue Type: Sub-task
>          Components: Netty, Streaming
>            Reporter: Rui Wang
>            Assignee: Rui Wang
>            Priority: Major
>             Fix For: 1.1.0
>
>         Attachments: 截屏2020-11-15 下午8.31.37.png
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> cc [~yjxxtd] [~szetszwo]



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