[ 
https://issues.apache.org/jira/browse/RANGER-4930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17881437#comment-17881437
 ] 

wangzhongwei commented on RANGER-4930:
--------------------------------------

[~madhan] thank you very much for your gudance,I will merge this patch and 
observer the results

> ranger
> ------
>
>                 Key: RANGER-4930
>                 URL: https://issues.apache.org/jira/browse/RANGER-4930
>             Project: Ranger
>          Issue Type: Bug
>          Components: admin
>         Environment: ranger2.2
> x86 cnetos
>            Reporter: wangzhongwei
>            Priority: Major
>
>      When  user creates a policy through the web interface, or updates a 
> policy, or creates a role or updates a role , the version of the policy or 
> role will be modified. This version change is implemented through 
> {{{}transactionSynchronizationAdapter.executeOnTransactionCommit{}}}. The 
> database update operation occurs in the callback function 
> {{{}afterCompletion{}}}. However, during debugging, it is occasionally found 
> that {{afterCompletion}} is not invoked, which results in the policy or role 
> being created or updated on the web interface, but the version remains 
> unchanged, preventing the plugin from triggering the action to re-fetch the 
> policy.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to