Robert Joseph Evans created BOOKKEEPER-999:
----------------------------------------------

             Summary: 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)

Reply via email to