ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yakov Zhdanov <yzhda...@apache.org>
Subject Re: Support for starting transaction in another thread IGNITE-4887
Date Mon, 03 Jul 2017 13:26:06 GMT
>Consider thread *Th1* started transaction *Tx1*, done some actions, and is
>calling commit (GridNearTxLocal#commit -> commitNearTxLocalAsync). And
>concurrently thread *Th2 *is calling the same commit on* Tx1*.

Alexey, this looks weird to me. IMO, if we talk about proper implementation
you should detect all cases of illegal access (e.g. commit from thread not
owning the transaction).

--Yakov

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message