fateh288 commented on code in PR #595:
URL: https://github.com/apache/ranger/pull/595#discussion_r2302621606


##########
agents-common/src/main/java/org/apache/ranger/plugin/service/RangerBasePlugin.java:
##########
@@ -817,6 +846,11 @@ public RangerResourceACLs 
getResourceACLs(RangerAccessRequest request) {
     }
 
     public RangerResourceACLs getResourceACLs(RangerAccessRequest request, 
Integer policyType) {
+        if (this.synchronousPolicyRefreshFlag) {
+            LOG.debug("==> getResourceACLs 
isSynchronousPolicyCacheUpdateEnabled = {}", this.synchronousPolicyRefreshFlag);

Review Comment:
   Addressed



##########
agents-common/src/main/java/org/apache/ranger/plugin/service/RangerBasePlugin.java:
##########
@@ -795,6 +819,11 @@ public RangerAccessResult 
evalRowFilterPolicies(RangerAccessRequest request, Ran
     }
 
     public void evalAuditPolicies(RangerAccessResult result) {
+        if (this.synchronousPolicyRefreshFlag) {
+            LOG.debug("==> evalAuditPolicies 
isSynchronousPolicyCacheUpdateEnabled = {}", this.synchronousPolicyRefreshFlag);

Review Comment:
   Addressed



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@ranger.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to