ranger icon indicating copy to clipboard operation
ranger copied to clipboard

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

Open kumaab opened this issue 8 months ago • 0 comments

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 avatar Apr 02 '25 21:04 kumaab