ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Magda <dma...@apache.org>
Subject Re: cache.loadCache() for persistent cache throws AssertionError
Date Tue, 02 Apr 2019 20:59:55 GMT
+1, that's a valid use case of having both native persistence and
CacheStore enabled. Users are aware of limitations such as no guaranteed
consistency across two stores.

-
Denis


On Tue, Apr 2, 2019 at 8:26 AM Ilya Kasnacheev <ilya.kasnacheev@gmail.com>
wrote:

> Hello!
>
> Yes, we do support persistence + cache store.
>
> Regards,
> --
> Ilya Kasnacheev
>
>
> вт, 2 апр. 2019 г. в 18:23, Eduard Shangareev <eduard.shangareev@gmail.com
> >:
>
> > Igniters,
> > do we support this combination (allowed persistence + read/write
> through)?
> > If no, what exception should be thrown?
> >
> >
> > java.lang.AssertionError
> > at
> >
> >
> org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager$GridCacheDataStore.invoke(GridCacheOffheapManager.java:2104)
> > at
> >
> >
> org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl.invoke(IgniteCacheOffheapManagerImpl.java:434)
> > at
> >
> >
> org.apache.ignite.internal.processors.cache.GridCacheMapEntry.storeValue(GridCacheMapEntry.java:4258)
> > at
> >
> >
> org.apache.ignite.internal.processors.cache.GridCacheMapEntry.initialValue(GridCacheMapEntry.java:3406)
> > at
> >
> >
> org.apache.ignite.internal.processors.cache.GridCacheEntryEx.initialValue(GridCacheEntryEx.java:772)
> > at
> >
> >
> org.apache.ignite.internal.processors.cache.GridCacheAdapter.loadEntry(GridCacheAdapter.java:3735)
> > at
> >
> >
> org.apache.ignite.internal.processors.cache.GridCacheAdapter.access$800(GridCacheAdapter.java:173)
> > at
> >
> >
> org.apache.ignite.internal.processors.cache.GridCacheAdapter$45.applyx(GridCacheAdapter.java:3700)
> > at
> >
> >
> org.apache.ignite.internal.processors.cache.GridCacheAdapter$45.applyx(GridCacheAdapter.java:3690)
> > at
> >
> >
> org.apache.ignite.internal.util.lang.GridInClosure3X.apply(GridInClosure3X.java:34)
> > at
> >
> >
> org.apache.ignite.internal.processors.cache.store.GridCacheStoreManagerAdapter$3.apply(GridCacheStoreManagerAdapter.java:535)
> > at
> >
> >
> org.apache.ignite.internal.processors.cache.IgniteCacheGroupsTest$MapBasedStore.loadCache(IgniteCacheGroupsTest.java:4744)
> > at
> >
> >
> org.apache.ignite.internal.processors.cache.store.GridCacheStoreManagerAdapter.loadCache(GridCacheStoreManagerAdapter.java:519)
> > at
> >
> >
> org.apache.ignite.internal.processors.cache.GridCacheAdapter.localLoadCache(GridCacheAdapter.java:3690)
> > at
> >
> >
> org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.loadCache(IgniteCacheProxyImpl.java:380)
> > at
> >
> >
> org.apache.ignite.internal.processors.cache.GatewayProtectedCacheProxy.loadCache(GatewayProtectedCacheProxy.java:273)
> > at
> >
> >
> org.apache.ignite.internal.processors.cache.IgniteCacheGroupsTest.loadCache(IgniteCacheGroupsTest.java:3004)
> > at
> >
> >
> org.apache.ignite.internal.processors.cache.IgniteCacheGroupsTest.testLoadCacheAtomicLocal(IgniteCacheGroupsTest.java:2949)
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message