No idea - looking from what you have there, it looks like it should
work. I can't run this test here for some reason, i get other errors
related to flush ... in fact, the entire StateTransfer200Test fails
with flush errors...
--
Manik Surtani
Lead, JBoss Cache
JBoss, a division of Red Hat
Email: manik(a)jboss.org
Telephone: +44 7786 702 706
MSN: manik(a)surtani.org
Yahoo/AIM/Skype: maniksurtani
On 20 Dec 2006, at 02:46, Vladimir Blagojevic wrote:
Hey,
There is something weird going on with region activation (partial
state
transfer). As you can see on CC test
org.jboss.cache.statetransfer.StateTransfer200Test#testPartialStateTra
ns
fer fails.
Assert that fails is:
assertEquals("Incorrect name for /a/b", JOE, cache2.get(A_B,
"name"));
Since cache2 claims that node A_B does not have key name. However,
looks
at these statements
and their output just prior to this assert.
System.out.println("Region A_B on cache2: " + cache2.getRegion(A_B,
false));
Node child = cache2.getChild(A_B);
System.out.println(child.getKeys());
System.out.println(child.getData());
System.out.println(child.get("age"));
System.out.println(cache2.get(A_B, "name"));
Region A_B on cache2: RegionImpl{fqn=/a/b; active=true;
eviction=false;
timerThreadRegistered=false}
[{age=20, name=JOE}]
{{age=20, name=JOE}=true}
null
null
Just wanted to bring this to attention. Could it be state transfer
problem or
something in these last Node API changes?
Cheers,
Vladimir
_______________________________________________
jbosscache-dev mailing list
jbosscache-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbosscache-dev