You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@twill.apache.org by "Albert Shau (JIRA)" <ji...@apache.org> on 2016/07/16 00:25:20 UTC
[jira] [Commented] (TWILL-177) ZKDiscoveryService should have a way
to remove its connection watcher
[ https://issues.apache.org/jira/browse/TWILL-177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15380357#comment-15380357 ]
Albert Shau commented on TWILL-177:
-----------------------------------
AbstractTwillController will new a ZKDiscoveryService every time its created. This is what's returned when a user calls TwillPreparer.start(), so any process that starts twill applications will slowly leak memory.
> ZKDiscoveryService should have a way to remove its connection watcher
> ---------------------------------------------------------------------
>
> Key: TWILL-177
> URL: https://issues.apache.org/jira/browse/TWILL-177
> Project: Apache Twill
> Issue Type: Bug
> Components: discovery
> Reporter: Albert Shau
>
> The ZKDiscoveryService adds a connection watcher in its constructor, but has no way to remove it. As a result, if somebody is creating new instances, the number of watches will slowly grow.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)