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

Hongchao Deng commented on ZOOKEEPER-2069:
------------------------------------------

Hi [~fpj].

My jenkins test showed frequent failures while re-using channel factory 
resources. My worry comes down to this question:

  
http://stackoverflow.com/questions/26748897/got-closedchannelexception-because-writing-to-channel-after-its-closed

In short, I feel it's safer to isolate resources. I am pretty sure that this 
method will work (I also asked a few to test "v9.2" patch in real deployment).

But I am not sure the other way, which is re-using channel factory as you 
suggested. Could you share more knowledge if you understand this part? I will 
keep searching and asking for the root causes.

> Netty Support for ClientCnxnSocket
> ----------------------------------
>
>                 Key: ZOOKEEPER-2069
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2069
>             Project: ZooKeeper
>          Issue Type: Sub-task
>            Reporter: Hongchao Deng
>            Assignee: Hongchao Deng
>         Attachments: QA-run-nettyclient-for-test.patch, 
> ZOOKEEPER-2069-v2.patch, ZOOKEEPER-2069-v3.patch, ZOOKEEPER-2069-v4.patch, 
> ZOOKEEPER-2069-v5.patch, ZOOKEEPER-2069-v6.patch, ZOOKEEPER-2069-v7.patch, 
> ZOOKEEPER-2069-v8.patch, ZOOKEEPER-2069-v9.1.patch, 
> ZOOKEEPER-2069-v9.2.patch, ZOOKEEPER-2069-v9.patch, ZOOKEEPER-2069.patch, 
> draft.patch
>
>
> Review Board: https://reviews.apache.org/r/27244/diff/#



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to