[jboss-user] [JBossCache] - Re: JBC 1.4.1SP replication problems

manik.surtani@jboss.com do-not-reply at jboss.com
Tue Nov 13 09:49:19 EST 2007


"jorgemoralespou_2" wrote : 
  | We expect here to have the correct value, but we have the previously value, I guess that retrieved from Database. We supposed this value was updated when we did a put in the cache, and also that values should be retrieved first from the other node in the cluster, and then, if nothing found, from database.
  | 

The cache will first check it's own local memory and after that, check all cache loaders.  If you want it to query other caches in the cluster as well, add a ClusteredCacheLoader to your configuration, *before* the JDBCCacheLoader.

The reason why you may not get the latest value from the JDBCCacheLoader *may* be because you have set this cache loader to be async, so writes may not have completed to the database.

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

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



More information about the jboss-user mailing list