-
1. Re: cache data not synced among the cluster nodes in replication mode
dex80526 Nov 28, 2011 8:00 PM (in response to dex80526)some update/correction on my previous post/question:
!! the problem is seen when I used org.infinispan.loaders.jdbm.JdbmCacheStore loader!!
Indeed, I do not see the issue when use FileCacheStore loader !
With the JdbmCacheStore:
if I set 'fetchPersistentState="true" along with 'fetchInMemoryState="true"', the added entries on one node will be shown up on the new cluster node joining, but the removed data entryies will not be synchronized to the new node.
For example:
we have the following data pre-existed in each node's cache store (local):
k1 --> v1
k2 --> v2
1) start first node (only) and delete cach data k1. Now, one node1, the cache data now like this:
k1 -- v1
2) start the node and wait it to joint the cluster
You will see that the cache entries on node 2 still contains the 2 entries:
k1 --> v1
k2 --> v2
I am expecting it has only k2-->v2 entry after sync.
Is this the expected behaviour?
How does ISPN merge the changes in replication mode?
-
2. Re: cache data not synced among the cluster nodes in replication mode
galder.zamarreno Dec 6, 2011 1:01 PM (in response to dex80526)What version of Infinispan is this with? Can you try with Infinispan 5.1.0.CR1 that we've just released?
That would look like a bug, do you have by any chance a test case written for this that we can execute to replicate this particular issue?
-
3. Re: cache data not synced among the cluster nodes in replication mode
dex80526 Dec 6, 2011 1:16 PM (in response to galder.zamarreno)I ran this with 5.1 snapshot code last week, and saw the same results. I filed the bug on this.