I configured for Distibution cache, Say i created two nodes, configuration for each nodes are identical.
<transport transportClass = "org.infinispan.remoting.transport.jgroups.JGroupsTransport"
<!-- Note that the JGroups transport uses sensible defaults if no configuration property is defined. -->
<property name="configurationFile" value="jgroups.xml"/>
Excuted a 3 test cases in node1 and repeated the same in node2. I am not sure about the behaviour, when i execute the first test case in node2, node1 cache is replicated to node2 cache.
My understanding it should fetch the value from node1 instead of replicating node2.
Can some one tell me what is wrong in the configuration.
Thanks & Regards
If you 2 as number of owners and you have 2 nodes, then all data will be present in both nodes.