fateh288 commented on code in PR #595:
URL: https://github.com/apache/ranger/pull/595#discussion_r2334064960
##########
agents-common/src/main/java/org/apache/ranger/plugin/service/RangerBasePlugin.java:
##########
@@ -1209,6 +1237,11 @@ private void setServiceConfigs(Map<String, String>
serviceConfigs) {
if (authContext != null && !Objects.equals(oldServiceConfigs,
this.serviceConfigs)) {
authContext.onServiceConfigsUpdate(this.serviceConfigs);
}
+ String isSyncPolicyRefresh = this.pluginConfig == null ? null :
this.serviceConfigs.get(this.pluginConfig.getPropertyPrefix() +
".policy.refresh.synchronous");
+ if (Boolean.parseBoolean(isSyncPolicyRefresh)) {
+ this.synchronousPolicyRefresh = true;
Review Comment:
Sorry for this oversight.
Fixed in the patch
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]