We have two TreeCache caches that have CacheMode set to REPL_SYNC.  When we 
aquire a lock(LOCK_TYPE_WRITE) on a TreeCache node in one cache, we are not 
prevented from GETting that node in the other cahce.

When we run the same test with a single cache, the lock does prevent us from 
doing the GET on the locked node.

This seems to only be a problem with replicating the locks since our other 
tests indicate that we are able to see changes made in one cache in the other 
cache.

Can someone help? We have tried to use the locking API but it is not clear from 
the Javadoc on how to use it.

Thanks,
Preston

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3905337#3905337

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3905337


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to