You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sf...@apache.org on 2014/09/10 22:02:28 UTC

git commit: change uuid ignore range

Repository: incubator-usergrid
Updated Branches:
  refs/heads/two-dot-o ffef178ee -> 4971ee8a5


change uuid ignore range


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

Branch: refs/heads/two-dot-o
Commit: 4971ee8a59b954671658690a2ee5449f9881a9c9
Parents: ffef178
Author: Shawn Feldman <sf...@apache.org>
Authored: Wed Sep 10 14:02:13 2014 -0600
Committer: Shawn Feldman <sf...@apache.org>
Committed: Wed Sep 10 14:02:13 2014 -0600

----------------------------------------------------------------------
 .../serialization/impl/shard/impl/NodeShardAllocationImpl.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/4971ee8a/stack/corepersistence/graph/src/main/java/org/apache/usergrid/persistence/graph/serialization/impl/shard/impl/NodeShardAllocationImpl.java
----------------------------------------------------------------------
diff --git a/stack/corepersistence/graph/src/main/java/org/apache/usergrid/persistence/graph/serialization/impl/shard/impl/NodeShardAllocationImpl.java b/stack/corepersistence/graph/src/main/java/org/apache/usergrid/persistence/graph/serialization/impl/shard/impl/NodeShardAllocationImpl.java
index 94c5ecb..0d34b63 100644
--- a/stack/corepersistence/graph/src/main/java/org/apache/usergrid/persistence/graph/serialization/impl/shard/impl/NodeShardAllocationImpl.java
+++ b/stack/corepersistence/graph/src/main/java/org/apache/usergrid/persistence/graph/serialization/impl/shard/impl/NodeShardAllocationImpl.java
@@ -275,7 +275,7 @@ public class NodeShardAllocationImpl implements NodeShardAllocation {
         for ( DirectedEdgeMeta.NodeMeta node : directedEdgeMeta.getNodes() ) {
 
             //short circuit
-            if(!isNew || node.getId().getUuid().version() == 4){
+            if(!isNew || node.getId().getUuid().version() > 2){
                 return false;
             }