[jira] [Commented] (NIFI-1068) Site-to-Site Client creates memory leak when errors occur

2015-11-01 Thread Mark Payne (JIRA)

[ 
https://issues.apache.org/jira/browse/NIFI-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14984534#comment-14984534
 ] 

Mark Payne commented on NIFI-1068:
--

[~JPercivall] - nice work. Merged and ticket resolved.

Thanks!

> Site-to-Site Client creates memory leak when errors occur
> -
>
> Key: NIFI-1068
> URL: https://issues.apache.org/jira/browse/NIFI-1068
> Project: Apache NiFi
>  Issue Type: Bug
>  Components: Extensions
>Reporter: Mark Payne
>Assignee: Joseph Percivall
>  Labels: beginner, newbie
> Fix For: 0.4.0
>
> Attachments: NIFI-1068.patch
>
>
> The EndpointConnectionPool class does not properly cleanup EndpointConnection 
> objects when a EndpointConnectionPool.terminate is called. As a result, if 
> unable to send to the remote NiFi instance, the client will continually 
> obtain a new EndpointConnection object, fail, and call terminate; this 
> results in many objects being added to the internal 'activeConnections' set 
> without ever getting cleaned up.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (NIFI-1068) Site-to-Site Client creates memory leak when errors occur

2015-11-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/NIFI-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14984533#comment-14984533
 ] 

ASF subversion and git services commented on NIFI-1068:
---

Commit 37e2f178f8f0e4a0fed022e2541a64e97e4897d4 in nifi's branch 
refs/heads/master from [~JPercivall]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=37e2f17 ]

NIFI-1068 Fix EndpointConnectionPool to properly remove connections from 
activeConnections when terminating connections

Signed-off-by: Mark Payne 


> Site-to-Site Client creates memory leak when errors occur
> -
>
> Key: NIFI-1068
> URL: https://issues.apache.org/jira/browse/NIFI-1068
> Project: Apache NiFi
>  Issue Type: Bug
>  Components: Extensions
>Reporter: Mark Payne
>Assignee: Joseph Percivall
>  Labels: beginner, newbie
> Fix For: 0.4.0
>
> Attachments: NIFI-1068.patch
>
>
> The EndpointConnectionPool class does not properly cleanup EndpointConnection 
> objects when a EndpointConnectionPool.terminate is called. As a result, if 
> unable to send to the remote NiFi instance, the client will continually 
> obtain a new EndpointConnection object, fail, and call terminate; this 
> results in many objects being added to the internal 'activeConnections' set 
> without ever getting cleaned up.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)