Hi Satya, The best way to solve this is to use cache API to update the data and never update DB directly. If you have write-through enabled, updates will be atomically delegated to the persistence store, so the data in the cache and in the DB will be always consistent. And you will always have the latest data in memory which will allow you to execute in-memory queries on this data.
If this is not possible and you have to update DB directly for some reason, you will need to update the cache manually. E.g., implement DB trigger that will properly do this. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Cache-refresh-from-persistent-store-question-tp2078p2086.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.
