Repository: atlas Updated Branches: refs/heads/branch-1.0 5c0a2023a -> dc08e3054
Revert "ATLAS-2841: Regression, Tag Propagation : When a table is moved from database1 to database2 , tag propagated from db1 still propagated to table." This reverts commit 5c0a2023ab72f5b02b603d9f94e1590bacfedfbb. Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/dc08e305 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/dc08e305 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/dc08e305 Branch: refs/heads/branch-1.0 Commit: dc08e3054ba3c46655748735e48d3d8c2d71809e Parents: 5c0a202 Author: Sarath Subramanian <[email protected]> Authored: Mon Aug 27 10:15:55 2018 -0700 Committer: Sarath Subramanian <[email protected]> Committed: Mon Aug 27 10:15:55 2018 -0700 ---------------------------------------------------------------------- .../apache/atlas/repository/store/graph/v1/DeleteHandlerV1.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/atlas/blob/dc08e305/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/DeleteHandlerV1.java ---------------------------------------------------------------------- diff --git a/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/DeleteHandlerV1.java b/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/DeleteHandlerV1.java index 4edc9da..c57e30a 100644 --- a/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/DeleteHandlerV1.java +++ b/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/DeleteHandlerV1.java @@ -296,8 +296,8 @@ public abstract class DeleteHandlerV1 { // for relationship edges, inverse vertex's relationship attribute doesn't need to be updated. // only delete the reference relationship edge - if (isRelationshipEdge(edge)) { - deleteRelationships(Collections.singleton(edge), isInternalType); + if (GraphHelper.isRelationshipEdge(edge)) { + deleteEdge(edge, isInternalType); AtlasVertex referencedVertex = entityRetriever.getReferencedEntityVertex(edge, relationshipDirection, entityVertex);
