usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mru...@apache.org
Subject usergrid git commit: Set non-clustered unique value verification loading back to the non-consistent read consistency level.
Date Thu, 01 Sep 2016 18:07:22 GMT
Repository: usergrid
Updated Branches:
  refs/heads/hotfix-20160819 9bb0ae6d0 -> f4b7ac6c1


Set non-clustered unique value verification loading back to the non-consistent read consistency
level.


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

Branch: refs/heads/hotfix-20160819
Commit: f4b7ac6c1494f45eff39ab003c18bf58c944235c
Parents: 9bb0ae6
Author: Michael Russo <mrusso@apigee.com>
Authored: Thu Sep 1 11:06:36 2016 -0700
Committer: Michael Russo <mrusso@apigee.com>
Committed: Thu Sep 1 11:06:36 2016 -0700

----------------------------------------------------------------------
 .../persistence/collection/mvcc/stage/write/WriteUniqueVerify.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/usergrid/blob/f4b7ac6c/stack/corepersistence/collection/src/main/java/org/apache/usergrid/persistence/collection/mvcc/stage/write/WriteUniqueVerify.java
----------------------------------------------------------------------
diff --git a/stack/corepersistence/collection/src/main/java/org/apache/usergrid/persistence/collection/mvcc/stage/write/WriteUniqueVerify.java
b/stack/corepersistence/collection/src/main/java/org/apache/usergrid/persistence/collection/mvcc/stage/write/WriteUniqueVerify.java
index 7a63061..0832074 100644
--- a/stack/corepersistence/collection/src/main/java/org/apache/usergrid/persistence/collection/mvcc/stage/write/WriteUniqueVerify.java
+++ b/stack/corepersistence/collection/src/main/java/org/apache/usergrid/persistence/collection/mvcc/stage/write/WriteUniqueVerify.java
@@ -173,7 +173,7 @@ public class WriteUniqueVerify implements Action1<CollectionIoEvent<MvccEntity>>
 
                 // don't use read repair on this pre-write check
                 // stronger consistency is extremely important here, more so than performance
-                UniqueValueSet set = uniqueValueStrat.load(scope, cassandraFig.getConsistentReadCL(),
+                UniqueValueSet set = uniqueValueStrat.load(scope, cassandraFig.getReadCL(),
                     written.getEntityId().getType(), Collections.singletonList(written.getField()),
false);
 
                 set.forEach(uniqueValue -> {


Mime
View raw message