[
https://issues.apache.org/jira/browse/HBASE-15278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15151667#comment-15151667
]
Enis Soztutar commented on HBASE-15278:
---------------------------------------
bq. What is the purpose of this code?
It ensures that AsyncRpcChannel.close() is called when the TPC connection
closes so that any outstanding RPC calls will be done, and {{Promise}}'s
released.
bq. btw. It seems you mix some HBASE-15212 code into this patch
(testRpcMaxRequestSize?)
Yep, my env was not clean. It is still a wip patch. Not sure why the remaining
test is failing.
> AsyncRPCClient hangs if Connection closes before RPC call response
> -------------------------------------------------------------------
>
> Key: HBASE-15278
> URL: https://issues.apache.org/jira/browse/HBASE-15278
> Project: HBase
> Issue Type: Bug
> Reporter: Enis Soztutar
> Priority: Blocker
> Fix For: 2.0.0
>
> Attachments: hbase-15278_v00.patch
>
>
> The test for HBASE-15212 discovered an issue with Async RPC Client.
> In that test, we are closing the connection if an RPC call writes a call
> larger than max allowed size, the server closes the connection. However the
> async client does not seem to handle connection closes with outstanding RPC
> calls. The client just hangs.
> Marking this blocker against 2.0 since it is default there.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)