This is an automated email from the ASF dual-hosted git repository. amestry pushed a commit to branch branch-2.0 in repository https://gitbox.apache.org/repos/asf/atlas.git
commit e20c3703a8873cb370f59103a88fb7ea2a99c92a Author: Ashutosh Mestry <[email protected]> AuthorDate: Mon Apr 6 16:37:20 2020 -0700 ATLAS-3702: Edge creation performance improvements. Part 2. --- .../atlas/repository/store/graph/v2/AtlasRelationshipStoreV2.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasRelationshipStoreV2.java b/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasRelationshipStoreV2.java index fdf117a..6b5615f 100644 --- a/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasRelationshipStoreV2.java +++ b/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasRelationshipStoreV2.java @@ -781,7 +781,7 @@ public class AtlasRelationshipStoreV2 implements AtlasRelationshipStore { if (edge != null) { Status status = graphHelper.getStatus(edge); - if ((status == null || status == ACTIVE) && edge.getOutVertex().equals(fromVertex)) { + if ((status == null || status == ACTIVE) && edge.getOutVertex().getId().equals(fromVertex.getId())) { ret = edge; break; }
