[jbosscache-dev] Nodes and activation problem

Vladimir Blagojevic vladimir.blagojevic at jboss.com
Tue Dec 19 21:46:45 EST 2006


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#testPartialStateTrans
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







More information about the jbosscache-dev mailing list