Skip to content

IGNITE-21496 Make Vault methods synchronous#3189

Merged
sashapolo merged 4 commits intoapache:mainfrom
gridgain:ignite-21496
Feb 9, 2024
Merged

IGNITE-21496 Make Vault methods synchronous#3189
sashapolo merged 4 commits intoapache:mainfrom
gridgain:ignite-21496

Conversation

@sashapolo
Copy link
Copy Markdown
Contributor

https://issues.apache.org/jira/browse/IGNITE-21496

Thank you for submitting the pull request.

To streamline the review process of the patch and ensure better code quality
we ask both an author and a reviewer to verify the following:

The Review Checklist

  • Formal criteria: TC status, codestyle, mandatory documentation. Also make sure to complete the following:
    - 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 description of the JIRA ticket explains WHAT was made, WHY and 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.
  • Design: new code conforms with the design principles of the components it is added to.
  • Patch quality: patch cannot be split into smaller pieces, its size must be reasonable.
  • Code quality: code is clean and readable, necessary developer documentation is added if needed.
  • Tests code quality: test set covers positive/negative scenarios, happy/edge cases. Tests are effective in terms of execution time and resources.

Notes

@sashapolo sashapolo force-pushed the ignite-21496 branch 2 times, most recently from 4805e06 to 5467acd Compare February 8, 2024 14:56

failureProcessor.process(new FailureContext(CRITICAL_ERROR, throwable));

inBusyLock(busyLock, this::scheduleUpdateLowWatermarkBusy);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why schedule if the node is likely to die?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This logic was present here before my changes. I guess we still schedule it, because Failure Handler may not be configured to stop the node

@sashapolo sashapolo merged commit 4363510 into apache:main Feb 9, 2024
@sashapolo sashapolo deleted the ignite-21496 branch February 9, 2024 09:54
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.

2 participants