1 Reply Latest reply on Mar 21, 2012 11:25 AM by Galder Zamarreño

    Infinispan Distribution cache.

    Syed Jawahar Newbie

      Hi ,

       

      I configured for Distibution cache, Say i created two nodes, configuration for each nodes are identical.

       

      <global>
            <transport transportClass = "org.infinispan.remoting.transport.jgroups.JGroupsTransport"
                  clusterName="infinispan-hibernate-cluster" distributedSyncTimeout="50000">
               <!-- Note that the JGroups transport uses sensible defaults if no configuration property is defined. -->
                    <property name="configurationFile" value="jgroups.xml"/>
               </properties>
              </transport>
      </global>

           
      <namedCache name="checkInFlighDetail">
          <clustering mode="distribution">
                 <sync/>
                 <hash numOwners="2"/>
             </clustering>
      </namedCache>

       

       

      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

      Jawahar