Hello again! I guess that maybe you have to specify a default data region configuration here, and not just rely on default configuration for default data region.
I also think this is a bug :) Regards, -- Ilya Kasnacheev пн, 20 янв. 2020 г. в 20:16, Ilya Kasnacheev <ilya.kasnach...@gmail.com>: > 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 <jesus.recue...@shapelets.io>: > >> 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/ >> >