I am using the following configuration for Replicated Data grid:
<property name="cacheConfiguration">
<list>
<bean
class="org.apache.ignite.configuration.CacheConfiguration">
<property name="name" value="cache*"/>
<property name="cacheStoreFactory">
<bean
class="org.apache.ignite.configuration.IgniteReflectionFactory">
<property name="componentClass"
value="com.somepackage.someclass"/>
</bean>
</property>
<property name="cacheMode" value="REPLICATED"/>
<property name="readThrough" value="true"/>
</bean>
</list>
</property>
I have 2 servers running ignite, and I connect with a third client to them
to get/set cache requests. Once my process is done, I waited 5 minutes, took
down one ignite server and re-ran my process.
I was expecting all cache requests to be stored entirely in the second
running ignite instance (meaning replicated there), but found out that it
was not the case, and the second ignite instance called again to retrieve
cache data.
What am I doing wrong, why are the ignite instances not replicating?
Thanks in advance
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Replicated-Cache-not-replicating-tp1373.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.