Hi Pavel,

Here is the logs from node with localId:3561ac09-6752-4e2e-8279-d975c268d045
ignite-2019-10-06.gz
<http://apache-ignite-users.70518.x6.nabble.com/file/t2515/ignite-2019-10-06.gz>
  

cache creation is done with java code on our side, we use getOrCreateCache
method, here is the piece of code how we configure and create caches;

...
ignite.getOrCreateCache(getCommonCacheConfigurationForAccount(accountId,
initCacheType));

private <K, V> CacheConfiguration<K, V>
getCommonCacheConfigurationForAccount(String accountId, IgniteCacheType
cacheType) {
        CacheConfiguration<K, V> cacheConfiguration = new
CacheConfiguration<>();
       
cacheConfiguration.setName(accountId.concat(cacheType.getCacheNameSuffix()));
        if (cacheType.isSqlTable()) {
            cacheConfiguration.setIndexedTypes(cacheType.getKeyClass(),
cacheType.getValueClass());
            cacheConfiguration.setSqlSchema(accountId);
            cacheConfiguration.setSqlEscapeAll(true);
        }
        cacheConfiguration.setEventsDisabled(true);
        cacheConfiguration.setStoreKeepBinary(true);
        cacheConfiguration.setAtomicityMode(CacheAtomicityMode.ATOMIC);
        cacheConfiguration.setBackups(1);
        if (!cacheType.getCacheGroupName().isEmpty()) {
            cacheConfiguration.setGroupName(cacheType.getCacheGroupName());
        }
        if (cacheType.getExpiryDurationInDays().getDurationAmount() > 0) {
           
cacheConfiguration.setExpiryPolicyFactory(TouchedExpiryPolicy.factoryOf(cacheType.getExpiryDurationInDays()));
        }
        return cacheConfiguration;
    }



-----
İbrahim Halil Altun
Senior Software Engineer @ Segmentify
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to