apache / ignite

Apache Ignite
https://ignite.apache.org/
Apache License 2.0
4.82k stars 1.9k forks source link

IGNITE-23110 Disallow IgniteCache#clear() within transaction #11559

Open J-Bakuli opened 2 months ago

J-Bakuli commented 2 months ago

IgniteCache#clear invocation are not transactional. But, currently, Ignite allow to invoke clear inside transaction. This lead to unexpected behaviour and hides business logic errors.

We must disallow IgniteCache#clear call inside transaction.

TCbot2


Thank you for submitting the pull request to the Apache Ignite.

In order to streamline the review of the contribution we ask you to ensure the following steps have been taken:

The Contribution Checklist

Notes

If you need any help, please email dev@ignite.apache.org or ask anу advice on http://asf.slack.com #ignite channel.

zstan commented 1 week ago

plz remove commented code