That's the problem, the store is not shared between nodes. I have a separate native process on every cache node. This process should be notified about cache entries, that reside on this particular node. I was able to implement this behaviour by implementing CacheStore interface and calling JNI method on every "write" invocation. The problem is that when rebalancing occurs, CacheStore instance is not notified about what exact entries was moved from local node to remote. CacheStore instance on remote node is not notifed about entries that were copied into it.
2016-11-18 23:47 GMT+03:00 vkulichenko <valentin.kuliche...@gmail.com>: > Hi, > > The CacheStore implementation is assumed to be shared across nodes, so you > should not have such issues. Actually I don't see any difference in this > case between JNI and non-JNI implementation. What is the actual storage > you're writing to? > > -Val > > > > -- > View this message in context: http://apache-ignite-users. > 70518.x6.nabble.com/CacheStore-with-replication-tp9087p9095.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. >