Repository: sentry
Updated Branches:
  refs/heads/sentry-ha-redesign f048132a7 -> ad929e818


SENTRY-1486: Sentry should use repeatable-read consistency level (Alexander 
Kolbasov, Reviewed by: Sravya Tirukkovalur)

Change-Id: If2d51c7aafc10d0f0376e19474cab0025a01403d


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

Branch: refs/heads/sentry-ha-redesign
Commit: ad929e81897b015db7a4b52a2e76a89d02e52e31
Parents: f048132
Author: Sravya Tirukkovalur <[email protected]>
Authored: Thu Oct 6 16:46:29 2016 -0700
Committer: Sravya Tirukkovalur <[email protected]>
Committed: Thu Oct 6 17:23:13 2016 -0700

----------------------------------------------------------------------
 .../java/org/apache/sentry/service/thrift/ServiceConstants.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sentry/blob/ad929e81/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/service/thrift/ServiceConstants.java
----------------------------------------------------------------------
diff --git 
a/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/service/thrift/ServiceConstants.java
 
b/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/service/thrift/ServiceConstants.java
index abc3f58..31d9d42 100644
--- 
a/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/service/thrift/ServiceConstants.java
+++ 
b/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/service/thrift/ServiceConstants.java
@@ -138,7 +138,7 @@ public class ServiceConstants {
         .put("datanucleus.autoCreateSchema", "false")
         .put("datanucleus.fixedDatastore", "true")
         .put("datanucleus.autoStartMechanismMode", "checked")
-        .put("datanucleus.transactionIsolation", "read-committed")
+        .put("datanucleus.transactionIsolation", "repeatable-read")
         .put("datanucleus.cache.level2", "false")
         .put("datanucleus.cache.level2.type", "none")
         .put("datanucleus.query.sql.allowAll", "true")

Reply via email to