[
https://issues.apache.org/jira/browse/IGNITE-11547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ilya Kasnacheev updated IGNITE-11547:
-------------------------------------
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.
was:
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.
> ClassCastException when creating LOCAL cache on client in Data Region which
> is considered persistent
> ----------------------------------------------------------------------------------------------------
>
> Key: IGNITE-11547
> URL: https://issues.apache.org/jira/browse/IGNITE-11547
> Project: Ignite
> Issue Type: Bug
> Components: cache, persistence
> Affects Versions: 2.7
> Reporter: Ilya Kasnacheev
> Priority: Minor
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)