You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Hemanth Yamijala (JIRA)" <ji...@apache.org> on 2016/04/14 11:18:26 UTC

[jira] [Commented] (ATLAS-668) GraphHelper.addEdge() should add an edge only if there is no existing edge

    [ https://issues.apache.org/jira/browse/ATLAS-668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15240847#comment-15240847 ] 

Hemanth Yamijala commented on ATLAS-668:
----------------------------------------

Umm. As a fix for ATLAS-474, a check was added to {{GraphBackedTypeStore.addEdge}} to avoid this condition. So all calls to Titan don't go through the GraphBackedTypeStore? Should they?

> GraphHelper.addEdge() should add an edge only if there is no existing edge
> --------------------------------------------------------------------------
>
>                 Key: ATLAS-668
>                 URL: https://issues.apache.org/jira/browse/ATLAS-668
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Shwetha G S
>
> Currently, addEdge adds edge always and because of any code issues, we might end with duplicate edges. addEdge should add a check before adding edge



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)