You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Madhan Neethiraj (Jira)" <ji...@apache.org> on 2022/10/04 21:58:00 UTC

[jira] [Created] (RANGER-3941) optimize cache refresh in RangerUserStoreCache

Madhan Neethiraj created RANGER-3941:
----------------------------------------

             Summary: 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


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)