[jboss-jira] [JBoss JIRA] Updated: (JBCACHE-910) TreeCache.createSubtreeRootNode(Fqn subtree) ugliness
Manik Surtani (JIRA)
jira-events at jboss.com
Wed Jan 17 12:01:52 EST 2007
[ http://jira.jboss.com/jira/browse/JBCACHE-910?page=all ]
Manik Surtani updated JBCACHE-910:
----------------------------------
Fix Version/s: 2.0.0.BETA2
Affects Version/s: 2.0.0.ALPHA2
> 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.0.0.BETA2
>
>
> 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