[ https://issues.apache.org/jira/browse/ZOOKEEPER-2509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15437358#comment-15437358 ]
Yuliya Feldman commented on ZOOKEEPER-2509: ------------------------------------------- -1 Following line: {code} + zkServer = null; {code} is causing NPE later on - race condition is between Netty connection going away and message in the queue getting processed > Secure mode leaks memory > ------------------------ > > Key: ZOOKEEPER-2509 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2509 > Project: ZooKeeper > Issue Type: Bug > Affects Versions: 3.5.1, 3.5.2 > Reporter: Ted Dunning > Assignee: Ted Dunning > Fix For: 3.5.3 > > Attachments: > 0001-Updated-patch-for-Netty-leak-testing-to-trunk.patch, leak-patch.patch > > > The Netty connection handling logic fails to clean up watches on connection > close. This causes memory to leak. > I will have a repro script available soon and a fix. I am not sure how to > build a unit test since we would need to build an entire server and generate > keys and such. Advice on that appreciated. -- This message was sent by Atlassian JIRA (v6.3.4#6332)