You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by mr...@apache.org on 2016/09/01 18:07:22 UTC

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

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 <mr...@apigee.com>
Authored: Thu Sep 1 11:06:36 2016 -0700
Committer: Michael Russo <mr...@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 -> {