sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ak...@apache.org
Subject sentry git commit: SENTRY-1776 SentryStore should clear SENTRY_HMS_NOTIFICATION_ID while clearing store (Kalyan Kalvagadda, reviewed by Sergio Pena and Alex Kolbasov)
Date Fri, 19 May 2017 15:27:13 GMT
Repository: sentry
Updated Branches:
  refs/heads/sentry-ha-redesign 71de208d8 -> 172b14856


SENTRY-1776 SentryStore should clear SENTRY_HMS_NOTIFICATION_ID while clearing store (Kalyan
Kalvagadda, reviewed by Sergio Pena and Alex Kolbasov)


Project: http://git-wip-us.apache.org/repos/asf/sentry/repo
Commit: http://git-wip-us.apache.org/repos/asf/sentry/commit/172b1485
Tree: http://git-wip-us.apache.org/repos/asf/sentry/tree/172b1485
Diff: http://git-wip-us.apache.org/repos/asf/sentry/diff/172b1485

Branch: refs/heads/sentry-ha-redesign
Commit: 172b1485631e696599534eeef61b228ea4c4d3c4
Parents: 71de208
Author: Alexander Kolbasov <akolb@cloudera.com>
Authored: Fri May 19 08:24:38 2017 -0700
Committer: Alexander Kolbasov <akolb@cloudera.com>
Committed: Fri May 19 08:24:38 2017 -0700

----------------------------------------------------------------------
 .../apache/sentry/provider/db/service/persistent/SentryStore.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sentry/blob/172b1485/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStore.java
----------------------------------------------------------------------
diff --git a/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStore.java
b/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStore.java
index 7756c4a..8450402 100644
--- a/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStore.java
+++ b/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStore.java
@@ -476,6 +476,7 @@ public class SentryStore {
               pm.newQuery(MSentryPathChange.class).deletePersistentAll();
               pm.newQuery(MAuthzPathsMapping.class).deletePersistentAll();
               pm.newQuery(MPath.class).deletePersistentAll();
+              pm.newQuery(MSentryHmsNotification.class).deletePersistentAll();
               return null;
             }
           });


Mime
View raw message