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


##########
agents-common/src/main/java/org/apache/ranger/plugin/service/RangerBasePlugin.java:
##########
@@ -694,6 +703,11 @@ public RangerAccessResult 
isAccessAllowed(RangerAccessRequest request, RangerAcc
     }
 
     public Collection<RangerAccessResult> 
isAccessAllowed(Collection<RangerAccessRequest> requests, 
RangerAccessResultProcessor resultProcessor) {
+        if (this.synchronousPolicyRefreshFlag) {
+            LOG.debug("==> isAccessAllowed 
isSynchronousPolicyCacheUpdateEnabled = {}", this.synchronousPolicyRefreshFlag);

Review Comment:
   Addressed



##########
agents-common/src/main/java/org/apache/ranger/plugin/service/RangerBasePlugin.java:
##########
@@ -653,6 +657,11 @@ public Collection<RangerAccessResult> 
isAccessAllowed(Collection<RangerAccessReq
     }
 
     public RangerAccessResult isAccessAllowed(RangerAccessRequest request, 
RangerAccessResultProcessor resultProcessor) {
+        if (this.synchronousPolicyRefreshFlag) {
+            LOG.debug("==> isAccessAllowed 
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