Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-11541

Dynamic columns and indexes can be lost after the cluster restart

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.7
    • Fix Version/s: 2.8
    • Component/s: cache, persistence, sql
    • Labels:
      None
    • Ignite Flags:
      Docs Required

      Description

      The case is the following:

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

      It seems the issue is related to merging cache metadata.

      There are some workarounds:

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

      Reproducer is attached.

        Attachments

        1. StaticCacheAndDdlReproducer.java
          10 kB
          Roman Guseinov

          Issue Links

            Activity

              People

              • Assignee:
                agoncharuk Alexey Goncharuk
                Reporter:
                guseinov Roman Guseinov
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m