Hi Folks,
I have implemented cache read through and working fine with single node.
I'm trying to test with two nodes cluster and didn't working for backup data
concept.
My test case is as below
- I have started two server nodes
- Data is loaded into one server node(seeing DB activity logs in the server
console) and able to retrieve the cache. Then stopped this server node
- Another node is still running
-Trying to get the cache data and this server node is again calling to
Database instead of getting it from cached data
please advise for this issue. My configuration is as below
<bean class="org.apache.ignite.configuration.CacheConfiguration">
<property name="name"
value="reference-data-cache"></property>
<property name="cacheMode"
value="PARTITIONED"/>
<property name="backups" value="1"/>
<property name="atomicityMode" value="ATOMIC"/>
<property name="readThrough"
value="true"></property>
<property name="writeThrough"
value="true"></property>
<property name="cacheStoreFactory">
<bean
class="javax.cache.configuration.FactoryBuilder"
factory-method="factoryOf">
<constructor-arg
value="org.test.IgniteCacheRead"></constructor-arg>
</bean>
</property>
</bean>
Thanks,
Raja
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/