[jboss-jira] [JBoss JIRA] Resolved: (JBCACHE-910) TreeCache.createSubtreeRootNode(Fqn subtree) ugliness

Manik Surtani (JIRA) jira-events at lists.jboss.org
Mon Oct 1 09:17:53 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBCACHE-910?page=all ]

Manik Surtani resolved JBCACHE-910.
-----------------------------------

    Resolution: Done

> TreeCache.createSubtreeRootNode(Fqn subtree) ugliness
> -----------------------------------------------------
>
>                 Key: JBCACHE-910
>                 URL: http://jira.jboss.com/jira/browse/JBCACHE-910
>             Project: JBoss Cache
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.0.0.ALPHA2
>            Reporter: Elias Ross
>         Assigned To: Manik Surtani
>             Fix For: 2.1.0.GA
>
>
> This method is called by the region manager.
> There's a bunch of Voodoo taking place here, legacy bits mixed with some newer stuff.
> One thing that strikes me as wrong already is this code:
> child = factory.createDataNode(type, name,
>                        subtree.getFqnChild(i + 1),
>                        parent, lock_table, coordinator, null, this.rootSpi);
> For some reason, it is passing the lock_table into the Node as the data to initialize the node with.
> Somehow I think the right way to fix this would be to do a Cache.addChild(Fqn) call in RegionManager and remove this method.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list