Hi,

Why do you expect one of the transactions to fail? Main purpose of the
transactions is to guarantee data updates atomicity and consistency and your
result looks correct from this standpoint. If you expect
TransactionOptimisticException, it can happen only in
OPTIMISTIC/SERIALIZABLE mode, but even in this mode Ignite will try its best
not to fail and commit both transactions.

For more information on different transaction modes please refer to this
page: https://apacheignite.readme.io/v1.6/docs/transactions

-Val



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Multi-threaded-transactions-tp6563p6570.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to