]
Manik Surtani updated JBCACHE-910:
----------------------------------
Fix Version/s: 2.1.0.BETA1
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, 2.1.0.BETA1
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: