From cd8fb8a6d262bafcd9f6a14c2a6d35fd577dc056 Mon Sep 17 00:00:00 2001 From: Nikhil Soni Date: Fri, 20 Sep 2024 12:55:21 +0530 Subject: [PATCH] Enable diff based policy refresh --- .../main/java/org/apache/atlas/plugin/util/PolicyRefresher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth-agents-common/src/main/java/org/apache/atlas/plugin/util/PolicyRefresher.java b/auth-agents-common/src/main/java/org/apache/atlas/plugin/util/PolicyRefresher.java index 12026375b1..b18906dde4 100644 --- a/auth-agents-common/src/main/java/org/apache/atlas/plugin/util/PolicyRefresher.java +++ b/auth-agents-common/src/main/java/org/apache/atlas/plugin/util/PolicyRefresher.java @@ -117,7 +117,7 @@ public PolicyRefresher(RangerBasePlugin plugIn) { this.atlasConfig = ApplicationProperties.get(); this.auditRepository = new ESBasedAuditRepository(atlasConfig); this.auditRepository.start(); - this.enableDeltaBasedRefresh = false; // this.atlasConfig.getBoolean(DELTA_BASED_REFRESH, false); + this.enableDeltaBasedRefresh = this.atlasConfig.getBoolean(DELTA_BASED_REFRESH, false); } catch (AtlasException e) { LOG.error("PolicyDelta: Error while reading atlas configuration", e); this.enableDeltaBasedRefresh = false;