[
https://issues.apache.org/jira/browse/BOOKKEEPER-999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15932110#comment-15932110
]
ASF GitHub Bot commented on BOOKKEEPER-999:
-------------------------------------------
Github user jiazhai commented on the issue:
https://github.com/apache/bookkeeper/pull/105
+1, LGTM.
> BookKeeper client can leak threads
> ----------------------------------
>
> Key: BOOKKEEPER-999
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-999
> Project: Bookkeeper
> Issue Type: Bug
> Components: bookkeeper-client
> Affects Versions: 4.4.0
> Reporter: Robert Joseph Evans
> Assignee: Robert Joseph Evans
>
> The client constructor
> {{BookKeeper(ClientConfiguration conf, ZooKeeper zk)}}
> in 4.4 and above will create a new NioClientSocketChannelFactory but does not
> set the ownership of that factory to true so threads are leaked.
> This showed up as a failure in BookieRecoveryTest on MacOS where it has a
> hard coded limit of about 2000 threads in a single process, and this test was
> going beyond that.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)