[ 
https://issues.apache.org/jira/browse/HBASE-18204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Enis Soztutar updated HBASE-18204:
----------------------------------
    Attachment: hbase-18204_v1.patch

This is an initial patch without a unit test. This part is really hard to test 
since we have to simulate outstanding RPCs and close the connection. 
[~xiaobingo] was adding a mock RPC server in HBASE-18078, maybe we can use 
that. Otherwise, we still need to make progress with manual testing at least. 

> [C++] Cleanup outgoing RPCs on connection close
> -----------------------------------------------
>
>                 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.3.15#6346)

Reply via email to