[ https://issues.apache.org/jira/browse/ZOOKEEPER-2064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14208924#comment-14208924 ]
Ted Yu commented on ZOOKEEPER-2064: ----------------------------------- I ran the failed tests locally. ReconfigRecoveryTest#testCurrentObserverIsParticipantInNewConfig fails with or without my patch. > Prevent resource leak in various classes > ---------------------------------------- > > Key: ZOOKEEPER-2064 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2064 > Project: ZooKeeper > Issue Type: Bug > Reporter: Ted Yu > Priority: Critical > Attachments: 2064-v1.txt, 2064-v2.txt > > > In various classes, there is potential resource leak. > e.g. LogIterator / RandomAccessFileReader is not closed upon return from the > method. > Corresponding close() should be called to prevent resource leak. -- This message was sent by Atlassian JIRA (v6.3.4#6332)