[
https://issues.apache.org/jira/browse/HBASE-10637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13918352#comment-13918352
]
Devaraj Das commented on HBASE-10637:
-------------------------------------
[~nkeywal], quick question - if the tcp connection is shared between the
threads, why do the setup in the thread at all? Is it because by the time the
thread gets scheduled the connection might have closed, etc.?
> rpcClient: Setup the iostream when doing the write
> --------------------------------------------------
>
> Key: HBASE-10637
> URL: https://issues.apache.org/jira/browse/HBASE-10637
> Project: HBase
> Issue Type: Bug
> Components: Client
> Affects Versions: 0.99.0
> Reporter: Nicolas Liochon
> Assignee: Nicolas Liochon
> Fix For: 0.99.0, hbase-10070
>
> Attachments: 10637.v1.patch
>
>
> Since HBASE-10525, we can write in a different thread than the client. This
> allows the client thread to be interrupted w/o any impact on the shared tcp
> connection. We should setup the iostream on the second thread as well, i.e.
> when we do the write, and not when we do the getConnection.
--
This message was sent by Atlassian JIRA
(v6.2#6252)