Skip to content

RANGER-5178: Update callers of executeOnTransactionCommit to check for existence of objects #554

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

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

Conversation

kumaab
Copy link
Contributor

@kumaab kumaab commented Apr 2, 2025

What changes were proposed in this pull request?

executeOnTransactionCommit in RangerTransactionSynchronizationAdapter.java is called multiple places for doing post transaction commit tasks in a subsequent transaction following the parent transaction.

The PR adds checks for appropriate objects referenced in classes PolicyRefUpdater and RoleRefUpdater.

How was this patch tested?

Pending.

@kumaab kumaab self-assigned this Apr 2, 2025
@kumaab kumaab requested a review from mneethiraj April 4, 2025 19:55
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