Please find below the config we used. You mentioned that there is a problem with the index so I guessed the data are still in the cache. Are there any way to re-build the index to remedy the error when it occurred? Thanks.
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd"> <bean id="grid.cfg" class="org.apache.ignite.configuration.IgniteConfiguration"> <property name="discoverySpi"> <bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi"> <property name="localPort" value="48500"/> <property name="localPortRange" value="10"/> <property name="ipFinder"> <bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder"> <property name="addresses"> <list> <value>192.168.3.130127.0.0.1 </property> </bean> </property> </bean> </property> <property name="dataStorageConfiguration"> <bean class="org.apache.ignite.configuration.DataStorageConfiguration"> <property name="defaultDataRegionConfiguration"> <bean class="org.apache.ignite.configuration.DataRegionConfiguration"> <property name="initialSize" value="#{1L * 1024 * 1024 * 1024}"/> <property name="maxSize" value="#{2L * 1024 * 1024 * 1024}"/> <property name="persistenceEnabled" value="true"/> </bean> </property> <property name="dataRegionConfigurations"> <list> <bean class="org.apache.ignite.configuration.DataRegionConfiguration"> <property name="name" value="CC"/> <property name="initialSize" value="#{512 * 1024 * 1024}"/> <property name="maxSize" value="#{1L * 1024 * 1024 * 1024}"/> <property name="persistenceEnabled" value="false"/> </bean> <bean class="org.apache.ignite.configuration.DataRegionConfiguration"> <property name="name" value="NP"/> <property name="initialSize" value="#{512 * 1024 * 1024}"/> <property name="maxSize" value="#{1L * 1024 * 1024 * 1024}"/> <property name="persistenceEnabled" value="false"/> </bean> </list> </property> </bean> </property> <property name="communicationSpi"> <bean class="org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi"> <property name="slowClientQueueLimit" value="100"/> <property name="messageQueueLimit" value="1024"/> </bean> </property> <property name="authenticationEnabled" value="false"/> <property name="sslContextFactory"> <bean class="org.apache.ignite.ssl.SslContextFactory"> <property name="keyStoreFilePath" value="C:/temp/ignite.jks"/> <property name="keyStorePassword" value="password"/> <property name="protocol" value="TLS"/> <property name="trustManagers"> <bean class="org.apache.ignite.ssl.SslContextFactory" factory-method="getDisabledTrustManager"/> </property> </bean> </property> <property name="peerClassLoadingEnabled" value="true"/> </bean> </beans> -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/
