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

Pradeep Agrawal edited comment on RANGER-2713 at 2/26/20 10:59 AM:
-------------------------------------------------------------------

Have reverted this commit: 
[https://github.com/apache/ranger/commit/f37f5407eee8d2627a4306a25938b151f8e2ba31]


was (Author: pradeep.agrawal):
Have reverted this commit : 
[https://github.com/apache/ranger/commit/575f7093f353a1ec813e344060b5cb2f5adbf392]

> Remove audit fields from XXPolicyRef objects
> --------------------------------------------
>
>                 Key: RANGER-2713
>                 URL: https://issues.apache.org/jira/browse/RANGER-2713
>             Project: Ranger
>          Issue Type: Improvement
>          Components: admin, audit
>    Affects Versions: master
>            Reporter: Andrew Luo
>            Priority: Minor
>         Attachments: 
> 0001-RANGER-2713-Remove-audit-fields-from-XXPolicyRef-obj.patch
>
>
> XXPolicyRef objects have fields such as create time, update time, added by 
> user ID, updated by user ID, but there fields are entirely useless since they 
> are all copied from the XXPolicy object.  In addition, while improving 
> performance for creation of policies with large numbers of users, we 
> discovered that a lot of time was being spent in JPA converting these Date 
> objects especially.  After removing these fields we saw a significant 
> performance improvement (a secondary benefit is less database space usage).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to