[jira] [Updated] (ZOOKEEPER-2064) Prevent resource leak in various classes

2014-11-20 Thread Flavio Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Junqueira updated ZOOKEEPER-2064:

Fix Version/s: 3.6.0
   3.5.1
   3.4.7

 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
Assignee: Ted Yu
Priority: Critical
 Fix For: 3.4.7, 3.5.1, 3.6.0

 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)


[jira] [Updated] (ZOOKEEPER-2064) Prevent resource leak in various classes

2014-11-20 Thread Flavio Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Junqueira updated ZOOKEEPER-2064:

Attachment: ZOOKEEPER-2064.patch

The patch looks good, I've just made a small format change. 

 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
Assignee: Ted Yu
Priority: Critical
 Fix For: 3.4.7, 3.5.1, 3.6.0

 Attachments: 2064-v1.txt, 2064-v2.txt, ZOOKEEPER-2064.patch


 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)


[jira] [Updated] (ZOOKEEPER-2064) Prevent resource leak in various classes

2014-11-12 Thread Ted Yu (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Yu updated ZOOKEEPER-2064:
--
Attachment: 2064-v2.txt

patch v2 is based on latest trunk.

 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)


[jira] [Updated] (ZOOKEEPER-2064) Prevent resource leak in various classes

2014-11-06 Thread melissa h (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

melissa h updated ZOOKEEPER-2064:
-
Priority: Critical  (was: Major)

 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


 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)


[jira] [Updated] (ZOOKEEPER-2064) Prevent resource leak in various classes

2014-10-21 Thread Ted Yu (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Yu updated ZOOKEEPER-2064:
--
Attachment: 2064-v1.txt

Tentative 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
 Attachments: 2064-v1.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)