hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18204) [C++] Rpc connection close and reconnecting
Date Thu, 20 Jul 2017 02:53:01 GMT

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

Enis Soztutar commented on HBASE-18204:
---------------------------------------

Let me repurpose this jira to handle the TCP reconnection as well. When the server that we
used to have a connection dies and comes back, we have to handle two things: 
 - Clean up all the outgoing RPCs, and set them with exceptions so that the upper layer can
retry. 
 - If the server comes back online, we should be able to reconnect to the server by re-creating
the pipeline. 


> [C++] Rpc connection close and reconnecting
> -------------------------------------------
>
>                 Key: HBASE-18204
>                 URL: https://issues.apache.org/jira/browse/HBASE-18204
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>         Attachments: hbase-18204_v1.patch
>
>
> Our client-dispatcher maintains a map of outgoing RPCs per server with the promises.

> In case the server goes down, or TCP connection is closed, we should complete the outgoing
RPCs with exceptions so that higher level waiters can unblock and retry. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message