Transactions in atomics

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Transactions in atomics

Valentin Kulichenko
Folks,

I noticed that we use pessimistic transaction to update atomic reference.
Is there any reason for that? Why don't we use atomic cache and invoke()
instead?

-Val
Reply | Threaded
Open this post in threaded view
|

Re: Transactions in atomics

yzhdanov
Val, can you please file a newbie ticket for this (if it is not there
already)?

--Yakov

2016-03-11 9:51 GMT+03:00 Valentin Kulichenko <[hidden email]
>:

> Folks,
>
> I noticed that we use pessimistic transaction to update atomic reference.
> Is there any reason for that? Why don't we use atomic cache and invoke()
> instead?
>
> -Val
>
Reply | Threaded
Open this post in threaded view
|

Re: Transactions in atomics

Valentin Kulichenko
Here we go: https://issues.apache.org/jira/browse/IGNITE-2893

-Val

On Thu, Mar 24, 2016 at 1:33 AM, Yakov Zhdanov <[hidden email]> wrote:

> Val, can you please file a newbie ticket for this (if it is not there
> already)?
>
> --Yakov
>
> 2016-03-11 9:51 GMT+03:00 Valentin Kulichenko <
> [hidden email]
> >:
>
> > Folks,
> >
> > I noticed that we use pessimistic transaction to update atomic reference.
> > Is there any reason for that? Why don't we use atomic cache and invoke()
> > instead?
> >
> > -Val
> >
>