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)

Reply via email to