You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@giraph.apache.org by "Dionysios Logothetis (Jira)" <ji...@apache.org> on 2020/05/14 05:50:00 UTC
[jira] [Updated] (GIRAPH-1230) Fix Netty reconnection issues
[ https://issues.apache.org/jira/browse/GIRAPH-1230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dionysios Logothetis updated GIRAPH-1230:
-----------------------------------------
Fix Version/s: 1.3.0
> Fix Netty reconnection issues
> -----------------------------
>
> Key: GIRAPH-1230
> URL: https://issues.apache.org/jira/browse/GIRAPH-1230
> Project: Giraph
> Issue Type: Bug
> Reporter: Dionysios Logothetis
> Assignee: Dionysios Logothetis
> Priority: Major
> Fix For: 1.3.0
>
>
> - The LogOnErrorChannelFutureListener is called when a channel operation was complete and it was checking whether the channel failed, in which case it tried to resend any requests. Doing this required to wait until a channel had been re-established. However, doing a wait operation from the same thread that calls the handler, causes a BlockingOperationException from Netty. So this is not effective.
> - Upon a channel closing, we have logic that will try to re-open the channels doing a max number of retries.. But we also had logic in the ChannelRoterator that would throw an exception if we didn't find any channel. This does not give the opportunity to re-conenct.
> - Whenever the client closes the connection, the server catches this (Connection reset by peer) and throws an exception as well, so the job fails immediately. This does not give the opportunity to the client to re-connect.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)