hi,I'm having trouble with cache expiry. We are trying to expire a cache
every minute and it works for some time then it seems to stop expiring the
cached objects. I'm trying it with eagerTtl = true & false.
Here is my cacheConfiguration and IgniteConfiguration:
CacheConfiguration<Object, Object> config = new
CacheConfiguration<>(); config.setName("projectCache");
config.setCacheMode(CacheMode.REPLICATED); config.setEagerTtl(false);
config.setExpiryPolicyFactory(CreatedExpiryPolicy.factoryOf(Duration.ONE_MINUTE));
Ignite cache c = ignite.getOrCreateCache(cache); IgniteConfiguration
cfg = new IgniteConfiguration();
cfg.setSslContextFactory(sslContextFactory);
cfg.setPeerClassLoadingEnabled(true); cfg.setIncludeEventTypes(new
int[]{98, 99}); System.setProperty("IGNITE_QUIET",
String.valueOf(symphonyIgniteConfiguration.isIgniteQuiet()));
System.setProperty("IGNITE_UPDATE_NOTIFIER", "false");
cfg.setGridLogger(new Slf4jLogger());
cfg.setDiscoverySpi(tcpDiscoverySpi); cfg.setClientMode(false);
cfg.setPublicThreadPoolSize(2); cfg.setSystemThreadPoolSize(4);
cfg.setRebalanceThreadPoolSize(2); cfg.setStripedPoolSize(2);
cfg.setPeerClassLoadingThreadPoolSize(2);
Not sure if my thread pool sizing has anything to do with it, but the
service is not busy at all.
Any idea on how to debug this?
thanks, Scott
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/