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

ClassCastException when creating LOCAL cache on client in Data Region which is considered persistent

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.7
    • Fix Version/s: None
    • Component/s: cache, persistence
    • Labels:
      None

      Description

      If default region in cluster is persistent, then creating a LOCAL cache on client will fail with:

      org.apache.ignite.internal.pagemem.impl.PageMemoryNoStoreImpl cannot be cast to org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryEx

      This is unless there is a second non-persistent data region, and cache is created in this non-persistent region.

      I think this case calls for a check and helpful error message.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sudhan499 Madhusudhan Reddy Vennapusa
                Reporter:
                ilyak Ilya Kasnacheev
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

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