Hi, It's usually better approach to run client code on client nodes, because they don't keep cache data and, as a consequence, shutdown or restart doesn't change cache state.
Another way is to configure cache with backups, f.e. in your case you have 2 server nodes, if you set CacheConfiguration.setBackups(1), each node additionally will keep copies of data from another one, so killing one of them doesn't hurt the data. But additionally you need to set CacheConfiguration.setWriteSynchronizationMode(CacheWriteSynchronizationMode.FULL_SYNC) to make sure that all backups synced after each cache update. -Dmitry -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-to-safely-shut-down-an-app-with-shared-RDD-without-lossing-data-tp13012p13019.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.