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 <dsetrak...@apache.org>: > On Wed, Oct 11, 2017 at 9:00 AM, ALEKSEY KUZNETSOV < > alkuznetsov...@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*