Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

J-Bakuli
Copy link
Contributor

@J-Bakuli J-Bakuli commented Sep 30, 2024

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

  • There is a single JIRA ticket related to the pull request.
  • The web-link to the pull request is attached to the JIRA ticket.
  • The JIRA ticket has the Patch Available state.
  • The pull request body describes changes that have been made.
    The description explains WHAT and WHY was made instead of HOW.
  • The pull request title is treated as the final commit message.
    The following pattern must be used: IGNITE-XXXX Change summary where XXXX - number of JIRA issue.
  • A reviewer has been mentioned through the JIRA comments
    (see the Maintainers list)
  • The pull request has been checked by the Teamcity Bot and
    the green visa attached to the JIRA ticket (see TC.Bot: Check PR)

Notes

If you need any help, please email [email protected] or ask anу advice on http://asf.slack.com #ignite channel.

@J-Bakuli J-Bakuli reopened this Oct 28, 2024
@J-Bakuli J-Bakuli changed the title ignite-23110 Disallow IgniteCache#clear() within transaction IGNITE-23110 Disallow IgniteCache#clear() within transaction Nov 16, 2024
@zstan
Copy link
Contributor

zstan commented Nov 19, 2024

plz remove commented code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants