ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ALEKSEY KUZNETSOV <alkuznetsov...@gmail.com>
Subject IGNITE-7409 Rework exception handling in suspend()\resume() methods
Date Tue, 13 Feb 2018 10:35:30 GMT
Hi, Igntrs!

When user misuses transactions, one could get assertion error.
Currently, when we start optimistic transaction, do some work within it and
try to resume it(which is incorrect behavior) assertion error is thrown. It
looks weird.
On the contrary more descriptive exception should be thrown.

In my fix exception handling is reworked, plz review it:
tickect [1],
review in upsource [2].

[1]: https://issues.apache.org/jira/browse/IGNITE-7409
[2]: https://reviews.ignite.apache.org/ignite/review/IGNT-CR-463
-- 

*Best Regards,*

*Kuznetsov Aleksey*

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