Start 2 nodes using the attached configuration file, and then:
1.activate cluster;
2.restart one node;
3.execute sql:SELECT * FROM "testCache".String,then error occurs;
This problem affects versions 2.9 and later, and versions before 2.9 are
not affected.
https://issues.apache.org/jira/browse/IGNITE-16273
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
<bean id="ignite.cfg" class="org.apache.ignite.configuration.IgniteConfiguration">
<property name="consistentId" value="#{systemEnvironment['CONSISTENTID']}" />
<property name="cacheConfiguration">
<list>
<bean id="marketDataCache" class="org.apache.ignite.configuration.CacheConfiguration">
<property name="name" value="testCache" />
<property name="dataRegionName" value="Main_Region" />
<property name="indexedTypes">
<array>
<value>java.lang.Integer</value>
<value>java.lang.String</value>
</array>
</property>
</bean>
</list>
</property>
<property name="dataStorageConfiguration">
<bean class="org.apache.ignite.configuration.DataStorageConfiguration">
<property name="defaultDataRegionConfiguration">
<bean class="org.apache.ignite.configuration.DataRegionConfiguration">
<property name="name" value="Default_Region" />
<property name="maxSize" value="#{200 * 1024 * 1024}" />
<property name="persistenceEnabled" value="true" />
</bean>
</property>
<property name="dataRegionConfigurations">
<list>
<bean class="org.apache.ignite.configuration.DataRegionConfiguration">
<property name="name" value="Main_Region" />
<property name="maxSize" value="#{400 * 1024 * 1024}" />
<property name="persistenceEnabled" value="false" />
</bean>
</list>
</property>
</bean>
</property>
</bean>
</beans>