Description
Steps to reproduce:
1. Start and restart a node with persistence enabled and the following cache configuration:
<property name="cacheConfiguration"> <bean class="org.apache.ignite.configuration.CacheConfiguration"> <property name="name" value="cache"/> <property name="queryEntities"> <list> <bean class="org.apache.ignite.cache.QueryEntity"> <property name="keyType" value="java.lang.Long"/> <property name="valueType" value="Person"/> <property name="fields"> <map> <entry key="id" value="java.lang.Long"/> <entry key="firstName" value="java.lang.String"/> </map> </property> </bean> </list> </property> </bean> </property>
2. Execute the following DDL statement:
ALTER TABLE "cache".Person ADD COLUMN lastName varchar;
3. Restart the node.
After the restart Person table contains only two columns
Attachments
Issue Links
- duplicates
-
IGNITE-11541 Dynamic columns and indexes can be lost after the cluster restart
- Resolved