[jboss-user] [JBoss Cache: Core Edition] - Cache entries could not be read or replicated
do-not-reply at jboss.com
Tue Jun 16 19:30:04 EDT 2009
Does it matter if I frequently start and destroy a cache instance in a cluster, and remove cache entries from a cluster? I'm asking this because I got this strange problem that some cache entries were able to be created, but couldn't be read.
I have a cluster with two nodes as follows:
1. The nodes N1 and N2 are in different machines. Each node has a cache instance.
2. The node N1 only reads from cache. If it doesn't find an entry from its local cache, it will read from N2 via a ClusteredCacheLoader with synchronous replication.
3. The node N2 both reads from and writes to its cache.
Now I have a monitor program that runs every 10 minutes. It first starts a new cache instance that joins the cluster, removes a specific cache entry using this cache instance, submits a request to the server N2 to recreate the cache entry, and at last destroys the cache instance.
What's strange is, after a while, the specific cache that got removed and recreated by the monitor program could not be read or replicated anymore, even though the traces clearly showed the entry did get added to the cache instance on N2. By the way, the entry was only used by the monitor program.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238060#4238060
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238060
More information about the jboss-user