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

Hudson commented on ZOOKEEPER-1175:
-----------------------------------

Integrated in ZooKeeper-trunk #1304 (See 
[https://builds.apache.org/job/ZooKeeper-trunk/1304/])
    ZOOKEEPER-1175. DataNode references parent node for no reason (Thomas Koch 
via phunt)

phunt : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1170886
Files : 
* /zookeeper/trunk/CHANGES.txt
* /zookeeper/trunk/src/java/main/org/apache/zookeeper/server/DataNode.java
* /zookeeper/trunk/src/java/main/org/apache/zookeeper/server/DataTree.java
* 
/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/upgrade/UpgradeSnapShotV1.java


> DataNode references parent node for no reason
> ---------------------------------------------
>
>                 Key: ZOOKEEPER-1175
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1175
>             Project: ZooKeeper
>          Issue Type: Improvement
>            Reporter: Thomas Koch
>            Assignee: Thomas Koch
>            Priority: Minor
>             Fix For: 3.5.0
>
>         Attachments: ZOOKEEPER-1175.patch, ZOOKEEPER-1175.patch
>
>
> Having the parent referenced in a node makes the tree building harder then it 
> needs to be. With the parent you need to get the parent before you can create 
> the DataNode. Without the parent in the DataNode one can have a method 
> tree.put(String path, new DataNode(...)).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to