Ed, Does this assertion fail? GridCacheOffheapManager.GridCacheDataStore#invoke assert ctx.database().checkpointLockIsHeldByThread();
If so, then is not it a problem with checkpoint lock which is not held? ср, 3 апр. 2019 г. в 00:00, Denis Magda <[email protected]>: > > +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 <[email protected]> > wrote: > > > Hello! > > > > Yes, we do support persistence + cache store. > > > > Regards, > > -- > > Ilya Kasnacheev > > > > > > вт, 2 апр. 2019 г. в 18:23, Eduard Shangareev <[email protected] > > >: > > > > > 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) > > > > > -- Best regards, Ivan Pavlukhin
