Hi Val, I am using ignite 2.3 Have a simple java Main method that has following
1. dataStorageConfig.set(dataRegionConfig) 2. ignitconfig.setDataStorageConfig(dataStorageConfig) 3. IgniteConfig.setDiscoverySpi(spi) 4.Ignition.start(igniteConfig) 5. CacheConfiguration cc = buildFromDataRegion(regionName); // sets CreatedExpiryPolicy to 15 sec 6. Cache c = ignite.getOrCreate(cc) 7. c.put(“k”, “v”); 8. Log(cache.get(“k”); 9. Sleep(16000); 10. Log(cache.get(“k”); at first run, when it comes to line 10, it’s expired. Now comment line 7. I should expect it should print null in line 8 when JVM restarts. But it gives me value. On Tue, Mar 13, 2018 at 8:34 PM vkulichenko <valentin.kuliche...@gmail.com> wrote: > I was actually not correct here. Although there are some known issues, > expiration is supposed to work with both memory and persistence. > > Subash, can you provide more details on how you reproduce the issue? I'm > getting null even after I restart the node. Are you doing anything else > there? > > -Val > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ > -- /subash