-
1. Re: remove leaves the caches consistent in clustered environ
gdaswani May 10, 2005 9:56 PM (in response to ashishdahiya)I'd also like to know if remove removes the values in the replication partners.
-
2. Re: remove leaves the caches consistent in clustered environ
ben.wang May 10, 2005 10:41 PM (in response to ashishdahiya)Yes. Read the documentation or run through the tutorial and you will see for yourself.
-Ben -
3. Re: remove leaves the caches consistent in clustered environ
twundke May 13, 2005 2:54 AM (in response to ashishdahiya)Actually, I have a possible bug to report. I thought I'd check here first. The bug occurs when using TreeCacheAOP.
I put an object into the cache, which is then replicated to other nodes. This all works fine. One node then calls removeObject(), which removes the FQN and cache interceptor on the local cache instance. The remove operations are replicated on the other nodes, but the cache interceptors are not removed from their objects. Therefore, if another node uses the object, the cache simply assumes that the object was evicted and re-creates it, which re-replicates it!
I'm assuming that the fix just involves TreeCacheAOP overriding _remove() and doing something appropriate.
Should I raise a JIRA issue for this, or have I just missed something obvious?
Tim. -
4. Re: remove leaves the caches consistent in clustered environ
ben.wang May 13, 2005 10:37 AM (in response to ashishdahiya)Tim,
Looks like this is a bug. Can you open a Jira issue under JBossCache and assign it to me?
Thanks,
-Ben -
5. Re: remove leaves the caches consistent in clustered environ
xexecute Jul 12, 2005 4:03 AM (in response to ashishdahiya)Hi could someone tell me how to avoid situation if in a clustered wnvironment i add new value to cache and it is available on one server and on the others after some time. I need to have in all cluster values available in one time.
-
6. Re: remove leaves the caches consistent in clustered environ
belaban Jul 12, 2005 4:28 AM (in response to ashishdahiya)Use synchronous replication
-
7. Re: remove leaves the caches consistent in clustered environ
xexecute Jul 12, 2005 9:16 AM (in response to ashishdahiya)You're wrigt ... I did it and it works ...