Hi there,

Looks like you are trying to preload data from the persistence to memory
with Cache.loadCache method. Presently, this operation is not supported for
the native persistence and it’s optional - just start issuing your queries
after the cluster restart and Ignite will get all the data needed for you
from disk. Eventually all the data will be loaded in RAM while your app is
running and querying the cluster.

Does it answer your question?

On Monday, November 25, 2019, niamin <[email protected]> wrote:

> What is the right way to enable native persistence? As per Ignite
> documentation, I added the following property to enable native persistence:
> <property name="dataStorageConfiguration">
>                     <bean
> class="org.apache.ignite.configuration.DataStorageConfiguration">
>                       <property name="defaultDataRegionConfiguration">
>                         <bean
> class="org.apache.ignite.configuration.DataRegionConfiguration">
>                           <property name="persistenceEnabled"
> value="true"/>
>                         </bean>
>                       </property>
>                     </bean>
>                   </property>
>
> I also added ignite.start(true) to my loader. However, I keep getting the
> following WARN level message:
>
> 2019-11-25 12:52:26.709  WARN 16599 --- [           main]
> o.a.i.i.p.c.store.CacheOsStoreManager    : <FOO> Calling Cache.loadCache()
> method will have no effect, CacheConfiguration.getStore() is not defined
> for
> cache: FOO
>
>
> The solution works as an in-memory cache/solution though.
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>


-- 
-
Denis

Reply via email to