[ 
https://issues.apache.org/jira/browse/RANGER-3941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Madhan Neethiraj updated RANGER-3941:
-------------------------------------
    Attachment: RANGER-3941-2.patch

> optimize cache refresh in RangerUserStoreCache
> ----------------------------------------------
>
>                 Key: RANGER-3941
>                 URL: https://issues.apache.org/jira/browse/RANGER-3941
>             Project: Ranger
>          Issue Type: Bug
>          Components: admin
>            Reporter: Madhan Neethiraj
>            Assignee: Madhan Neethiraj
>            Priority: Major
>             Fix For: 3.0.0, 2.4.0
>
>         Attachments: RANGER-3941-2.patch
>
>
> RangerUserStoreCache.getLatestRangerUserStoreOrCached() currently refreshes 
> the cache when the provided lastKnownUserStoreVersion is different from the 
> version in the database. Instead, the cache should be refreshed only when the 
> version cached is different from the version in the database. This will help 
> avoid unnecessary load on the database - for example, whenever a plugin 
> downloads userstore.



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

Reply via email to