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

Madhan Neethiraj resolved RANGER-3902.
--------------------------------------
    Fix Version/s: 3.0.0
                   2.4.0
       Resolution: Fixed

[~ramackri] - thank you for the fix. The patch is merged in following branches:

{noformat}
commit d234db2590a8079f9a150bd735e11597ef40b604
Author: Ramachandran Krishnan <[email protected]>
Date:   Tue Oct 11 22:55:44 2022 +0530

    RANGER-3902: dbLoadTime is not added correctly in RangerServicePoliciesCache

    Signed-off-by: Madhan Neethiraj <[email protected]>
{noformat}
 

{noformat}
commit e657c77172201a93eb2e1f596c8a1258a8985a78 (HEAD -> ranger-2.4, 
origin/ranger-2.4)
Author: Ramachandran Krishnan <[email protected]>
Date:   Tue Oct 11 22:55:44 2022 +0530

    RANGER-3902: dbLoadTime is not added correctly in RangerServicePoliciesCache

    Signed-off-by: Madhan Neethiraj <[email protected]>
    (cherry picked from commit d234db2590a8079f9a150bd735e11597ef40b604)
{noformat}

> dbLoadTime is not added correctly in RangerServicePoliciesCache
> ---------------------------------------------------------------
>
>                 Key: RANGER-3902
>                 URL: https://issues.apache.org/jira/browse/RANGER-3902
>             Project: Ranger
>          Issue Type: Improvement
>          Components: Ranger
>    Affects Versions: 3.0.0
>            Reporter: Ramachandran
>            Assignee: Ramachandran
>            Priority: Major
>             Fix For: 3.0.0, 2.4.0
>
>
> dbLoadTime is not added correctly in RangerServicePoliciesCache
> Proposal :
> servicePoliciesFromDb = 
> serviceStore.getServicePolicyDeltasOrPolicies(serviceName, 
> cachedServicePoliciesVersion);
> It should be calcuated properly after fetching servicePoliciesFromDb like 
> final long dbLoadTime = System.currentTimeMillis() - startTimeMs;
>  
>  



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

Reply via email to