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-1783: alterSentryRoleGrantPrivilegeCore does more persistence work than required (Alex Kolbasov, reviewed by: Kalyan Kalvagadda, Na Li, Vamsee Yarlagadda)
Date Fri, 26 May 2017 06:22:15 GMT
Repository: sentry
Updated Branches:
  refs/heads/master d360d08e3 -> f1bae505e


SENTRY-1783: alterSentryRoleGrantPrivilegeCore does more persistence work than required (Alex
Kolbasov, reviewed by: Kalyan Kalvagadda, Na Li, Vamsee Yarlagadda)


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

Branch: refs/heads/master
Commit: f1bae505e18ef73dd20c401195dc4b9de70a671f
Parents: d360d08
Author: Alexander Kolbasov <akolb@cloudera.com>
Authored: Thu May 25 23:13:29 2017 -0700
Committer: Alexander Kolbasov <akolb@cloudera.com>
Committed: Thu May 25 23:13:29 2017 -0700

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


http://git-wip-us.apache.org/repos/asf/sentry/blob/f1bae505/sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStore.java
----------------------------------------------------------------------
diff --git a/sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStore.java
b/sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStore.java
index f0d2a6b..958a46c 100644
--- a/sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStore.java
+++ b/sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/SentryStore.java
@@ -493,7 +493,6 @@ public class SentryStore {
         mPrivilege = convertToMSentryPrivilege(privilege);
       }
       mPrivilege.appendRole(mRole);
-      pm.makePersistent(mRole);
       pm.makePersistent(mPrivilege);
     }
     return mPrivilege;


Mime
View raw message