[
https://issues.apache.org/jira/browse/ZOOKEEPER-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776549#action_12776549
]
Erik Holstad commented on ZOOKEEPER-472:
----------------------------------------
Not really sure what to do about the no test -1. It is kinda hard to include
new test for something like this and make it portable in a good way.
Since I'm not adding any new functionality, the old tests should be enough, or
what is the general opinion on this matter?
Erik
> Making DataNode not instantiate a HashMap when the node is ephmeral
> -------------------------------------------------------------------
>
> Key: ZOOKEEPER-472
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-472
> Project: Zookeeper
> Issue Type: Improvement
> Components: server
> Affects Versions: 3.1.1, 3.2.0
> Reporter: Erik Holstad
> Assignee: Erik Holstad
> Priority: Minor
> Fix For: 3.3.0
>
> Attachments: zookeeper-472.patch, zookeeper-472.patch,
> zookeeper-472.patch, zookeeper-472.patch, zookeeper-472.patch,
> zookeeper-472.patch
>
>
> Looking at the code, there is an overhead of a HashSet object for that nodes
> children, even though the node might be an ephmeral node and cannot have
> children.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.