Hello!
It's very strange, considering the following code in 2.7.6:
/**
* @return {@code true} if persistence is enabled for at least one
data region, {@code false} if not.
*/
public static boolean isPersistenceEnabled(DataStorageConfiguration cfg) {
if (cfg == null)
return false;
DataRegionConfiguration dfltReg = cfg.getDefaultDataRegionConfiguration();
if (dfltReg == null)
return false;
if (dfltReg.isPersistenceEnabled())
return true;
DataRegionConfiguration[] regCfgs = cfg.getDataRegionConfigurations();
if (regCfgs == null)
return false;
for (DataRegionConfiguration regCfg : regCfgs) {
if (regCfg.isPersistenceEnabled())
return true;
}
return false;
}
Regards,
--
Ilya Kasnacheev
пн, 20 янв. 2020 г. в 19:54, j_recuerda <[email protected]>:
> Hi, Ilya,
>
> I am afraid I have tested it and it doesn't.
>
> Thanks!
>
>
> ilya.kasnacheev wrote
> > Hello!
> >
> > I think that system region is persistent if *any* of the regions is
> > persistent, not just the default one.
> >
> > Regards,
> > --
> > Ilya Kasnacheev
>
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>