ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ALEKSEY KUZNETSOV <alkuznetsov...@gmail.com>
Subject Re: Context switching for pessimistic transactions
Date Mon, 23 Oct 2017 12:35:25 GMT
Hi, Igntrs!

I would like to implement suspend\resume methods of a pessimistic
transaction as following:

if transaction holds lock on a key and suspend method has been called no
keys would be unlocked. Therefore,

if transaction holds lock on a key and suspend method has been called,
topology changing (e.g. start new node in the same thread) would wait
transaction to be resumed and finished.

Do you think it’s an appropriate behavior?

пт, 13 окт. 2017 г. в 5:06, Dmitriy Setrakyan <dsetrakyan@apache.org>:

> On Wed, Oct 11, 2017 at 9:00 AM, ALEKSEY KUZNETSOV <
> alkuznetsov.sb@gmail.com
> > wrote:
> > Hi, Igntrs!
> >
> > For suspend\resume operations in pessimistic mode we want to write the
> same
> > tests as for optimistic mode.
> >
> > What additional tests should we create for the task?
> Alexey, I think you should ask the reviewer in the ticket to pay attention
> to the tests and perhaps suggest some new ones. Without an actual review it
> would be impossible to tell which tests need to be added.

*Best Regards,*

*Kuznetsov Aleksey*

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