Skip to content

Conversation

@pradeepagrawal8184
Copy link
Contributor

What changes were proposed in this pull request?

(Copied from PR #211)
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).

How was this patch tested?

Ranger fresh Install and upgrade testing done.

@mneethiraj mneethiraj merged commit ae3e537 into master Jan 9, 2026
15 of 20 checks passed
mneethiraj pushed a commit that referenced this pull request Jan 9, 2026
Co-authored-by: andrewluotechnologies <andrewluotechnologies@outlook.com>
(cherry picked from commit ae3e537)
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.

3 participants