Re: Data is lost during rebalance

2019-11-07 Thread novacean.alex
Upon further research it appears that disabling page eviction for the default data region is not something i should do. According to Apache Ignite Documentation if Ignite Native Persistence is off and page eviction is disabled for the default data region, OutOfMemory errors will be thrown. The 'pe

Re: Data is lost during rebalance

2019-11-07 Thread Вячеслав Коптилин
Hi Alex, I will take a look at log files. Thanks, S. ср, 6 нояб. 2019 г. в 17:51, novacean.alex : > This is the test i am performing: > > 1. I have an Ignite Cluster of 3 Server Nodes running in Kubernetes. (the > cluster is created using a StatefulSet) > 2. Once the cluster is up i use a Deplo

Re: Data is lost during rebalance

2019-11-06 Thread novacean.alex
This is the test i am performing: 1. I have an Ignite Cluster of 3 Server Nodes running in Kubernetes. (the cluster is created using a StatefulSet) 2. Once the cluster is up i use a Deployment to run 5 pods each with a Client Node that performs put operations on my cache. 3. Once i see in the logs

Re: Data is lost during rebalance

2019-11-06 Thread Вячеслав Коптилин
We are definitely missing something obvious. ))) 1. Let's check log files for the following message: "Page-based evictions started. Consider increasing 'maxSize' on Data Region configuration:" 2. Please try to disable page eviction for the default data region. 3. Could you please describe your tes

Re: Data is lost during rebalance

2019-11-06 Thread novacean.alex
Hello Slava, Apparently i celebrated to early. The first test i performed after i used the 'backup' cache property in the config it was a success indeed, but the test was performed with a half full cache. When performing the test with the cache full the results are the same as previously, entries

Re: Data is lost during rebalance

2019-11-06 Thread Вячеслав Коптилин
Hi Alex, Oh... I missed the fact that your cache is replicated. In that case, you don't need to specify the number of backups. Could you please check, that the cache mode is replicated? You can try the following code snippet: System.out.println(ignite.cache("session-cache").getConfiguration(Cache

Re: Data is lost during rebalance

2019-11-06 Thread novacean.alex
Hello Slava, Thank you very much for the answer. It worked! Now every time 1 ignite node gets restarted it re-balances the exact number of keys. I was aware of the "backup" cache property but i think i misunderstood it's usages. As my cache is REPLICATED and in the documentations says that */"In

Re: Data is lost during rebalance

2019-11-06 Thread Вячеслав Коптилин
Hello Alex, You need to specify the number of backups for your cache. For instance, ... ... Please take a look at the page for details: https://apacheignite.readme.io/docs/primary-and-backup-copies Thanks, S. ср, 6

Data is lost during rebalance

2019-11-06 Thread novacean.alex
Hello, I am a new user of Ignite and i'm trying to get a cluster with 3 server nodes up and running in Kubernetes. Everything works perfectly until one ignite node gets restarted. During the rebalance process i noticed that ~20.000 entries are lost, This happens with each restart. If two ignite no