Skip to content

IGNITE-28036 Fix flaky IgniteOfflineBaselineNodeFullApiSelfTest#12843

Open
abashev wants to merge 1 commit intoapache:masterfrom
abashev:feature/IGNITE-28036
Open

IGNITE-28036 Fix flaky IgniteOfflineBaselineNodeFullApiSelfTest#12843
abashev wants to merge 1 commit intoapache:masterfrom
abashev:feature/IGNITE-28036

Conversation

@abashev
Copy link
Contributor

@abashev abashev commented Mar 3, 2026

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 tab PR Check at TC.Bot - Instance 1 or TC.Bot - Instance 2)

Notes

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

@abashev abashev force-pushed the feature/IGNITE-28036 branch from 6f3ce7a to ddbe690 Compare March 16, 2026 16:05
@sonarqubecloud
Copy link


if (delta <= 0) {
removeValue();
cctx.shared().database().checkpointReadLock();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. do we really need this lock ?
  2. can we cover with appropriate test such a case for defence in future ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we have that test - IgniteOfflineBaselineNodeFullApiSelfTest, it crashes all the time and this is a fix for it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure such easy fix is a proper solution.
The question is why none of 16 cctx.shared().database().checkpointReadLock(); usages helped.

The solution is not to hold lock, but to understand why it's not held.

@abashev abashev requested a review from zstan March 17, 2026 07:25
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.

3 participants