Repository: sentry
Updated Branches:
  refs/heads/master cbc7efcfb -> a8fd2e0ef


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/a8fd2e0e
Tree: http://git-wip-us.apache.org/repos/asf/sentry/tree/a8fd2e0e
Diff: http://git-wip-us.apache.org/repos/asf/sentry/diff/a8fd2e0e

Branch: refs/heads/master
Commit: a8fd2e0effedbf5e427a1b1383c263acc3a716d2
Parents: cbc7efc
Author: Sravya Tirukkovalur <[email protected]>
Authored: Thu Oct 6 16:46:29 2016 -0700
Committer: Sravya Tirukkovalur <[email protected]>
Committed: Thu Oct 6 16:46:29 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/a8fd2e0e/sentry-service/sentry-service-common/src/main/java/org/apache/sentry/service/thrift/ServiceConstants.java
----------------------------------------------------------------------
diff --git 
a/sentry-service/sentry-service-common/src/main/java/org/apache/sentry/service/thrift/ServiceConstants.java
 
b/sentry-service/sentry-service-common/src/main/java/org/apache/sentry/service/thrift/ServiceConstants.java
index 5ec364c..ce1edb9 100644
--- 
a/sentry-service/sentry-service-common/src/main/java/org/apache/sentry/service/thrift/ServiceConstants.java
+++ 
b/sentry-service/sentry-service-common/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.identifierFactory", "datanucleus1")

Reply via email to