Clarification: Starting distributed transaction from compute task

classic Classic list List threaded Threaded
2 messages Options
Sajal Gupta Sajal Gupta
Reply | Threaded
Open this post in threaded view
|

Clarification: Starting distributed transaction from compute task

Hi, Is it possible to start a ignite transaction from compute task and have it propagated to all the jobs of that task? That way any cache update which is performed by the jobs would happen inside the transaction started by the task, the transaction can be committed once all jobs are finished? Basically ability to perform atomic compute task across multiple nodes?


Thanks
Sajal
yakov yakov
Reply | Threaded
Open this post in threaded view
|

Re: Clarification: Starting distributed transaction from compute task

This is impossible. Transaction should belong to single thread and can be managed (started, stopped, etc) from 1 node only, however, it may affect as many nodes as needed.

--Yakov

2015-08-01 19:01 GMT+03:00 Sajal Gupta <[hidden email]>:
Hi, Is it possible to start a ignite transaction from compute task and have it propagated to all the jobs of that task? That way any cache update which is performed by the jobs would happen inside the transaction started by the task, the transaction can be committed once all jobs are finished? Basically ability to perform atomic compute task across multiple nodes?


Thanks
Sajal