I had tried to enable cache statistics, but it did not work.

my cache configure as following:

        <bean id="ignite.cfg"
class="org.apache.ignite.configuration.IgniteConfiguration">
                <property name="peerClassLoadingEnabled" value="false" />
                <property name="gridName" value="ghttest" />
                <property name="metricsLogFrequency" value="2000" />
                <property name="metricsUpdateFrequency" value="2000" />
                <property name="networkTimeout" value="300000" />
                <property name="cacheConfiguration">
                        <list>
                                <bean 
class="org.apache.ignite.configuration.CacheConfiguration">
                                        <property name="name" 
value="orderGoodCache" />
                                        <property name="atomicityMode" 
value="ATOMIC" />
                                        <property name="statisticsEnabled" 
value="true"/>
                                        <property name="cacheMode" 
value="PARTITIONED" />
                                        <property name="backups" value="0" />
                                        <property name="cacheStoreFactory" 
ref="orderPojoStoreFactory" />
                                        <property name="readThrough" 
value="false" />
                                        <property name="writeThrough" 
value="true" />
                                        <property name="writeBehindEnabled" 
value="true" />
                                        <property name="writeBehindFlushSize" 
value="10240" />
                                        <property 
name="writeBehindFlushFrequency" value="5000" />
                                        <property 
name="writeBehindFlushThreadCount" value="2" />
                                        <property name="indexedTypes">
                                                <array>
                                                        
<value>org.apache.ignite.OrderGood2Key</value>
                                                        
<value>org.apache.ignite.OrderGood2</value>
                                                </array>
                                        </property>
                                </bean>
                        </list>
                </property>
        </bean>



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/How-can-I-detect-DB-writing-abnormal-in-case-of-write-behind-tp8954p8997.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to