[jira] [Created] (IGNITE-11541) Dynamic columns and indexes can be lost after the cluster restart

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-11541) Dynamic columns and indexes can be lost after the cluster restart

Anton Vinogradov (Jira)
Roman Guseinov created IGNITE-11541:
---------------------------------------

             Summary: Dynamic columns and indexes can be lost after the cluster restart
                 Key: IGNITE-11541
                 URL: https://issues.apache.org/jira/browse/IGNITE-11541
             Project: Ignite
          Issue Type: Bug
          Components: cache, persistence, sql
    Affects Versions: 2.7
            Reporter: Roman Guseinov
         Attachments: StaticCacheAndDdlReproducer.java

The case is the following:

# Run a server node (persistence enabled. static cache configuration with queryEnities).
# Add/drop column/index via DDL.
# Restart the node with the same configuration.
# The changes are lost...

It seems the issue is related to merging cache metadata.

There are some workarounds:
# Remove/comment cache configuration. After the restart, the metadata will be loaded from the persistence store. This will work for a rolling restart.
# Make the same changes in the configuration (update queryEntity). It requires the whole cluster restart.

Reproducer is attached.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)