Hi Shaomin,

With write-behind cache it's impossible to enlist several DB updates in one
transaction, because DB is updated asynchronously and potentially from
different nodes. However, this is possible if you use write-through, in this
mode you can ensure transactional consistency between cache and DB.

Your approach confuses me. Are you updating trades in cache as well? How
does the store knows the set of trades to write to DB?

-Val



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/write-behind-on-two-caches-in-transaction-tp4279p4297.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to