Hi, I assume you have backups=0 for your cache (otherwise you should not see data loss). There are two ways to achieve what you need: 1) Set PartitionLossPolicy different from IGNORE in your cache configuration. This way your clients will get an exception when trying to read a lost key. After a stopped node is restarted, you need to call resetLostPartitions() to restore the cluster state. 2) Set backups=1. This way you should have full availability even when a node leaves the cluster.
Hope this helps, AG 2017-10-10 13:52 GMT+03:00 mhetea <mihaela.he...@gmail.com>: > Hello, > We have a cluster with 3 servers and about 9 clients. > The cache mode is partitioned. > At the moment randomly one server stops (we use ignite with spring boot), > with no error and we lose the data as the cache mode is Partitioned. > We enabled the Persistent Store > (https://apacheignite.readme.io/docs/distributed-persistent-store#section- > ignite-persistence-internals), > but from what I read it only loads the values back in the memory when a get > is made and the key doesn't exist in RAM. > Is there a way (a command or something) to tell an ignite server to reload > the data from the persistent store? (or some setting so that it does it > automatically on crash)? The issue is that we have lists (which we get by > SQL queries on the cache), and then from these lists we navigate to the > actual item, so we cannot make a get on a certain key. > > Thank you! > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >