Repository: atlas Updated Branches: refs/heads/branch-1.0 2f81c8953 -> 305854590
ATLAS-2835: Regression: Classifications propagated from term is not removed during term-entity disassociation (cherry picked from commit 35561d4ec0c92b5976b0cd4b241962833c96587b) Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/30585459 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/30585459 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/30585459 Branch: refs/heads/branch-1.0 Commit: 305854590db35fe04bb3b4569205e66e1b0ff5e9 Parents: 2f81c89 Author: Sarath Subramanian <[email protected]> Authored: Wed Aug 22 16:22:08 2018 -0700 Committer: Sarath Subramanian <[email protected]> Committed: Wed Aug 22 16:33:40 2018 -0700 ---------------------------------------------------------------------- .../apache/atlas/repository/store/graph/v1/DeleteHandlerV1.java | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/atlas/blob/30585459/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 98cfc78..16b193d 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 @@ -153,6 +153,9 @@ public abstract class DeleteHandlerV1 { continue; } + // re-evaluate tag propagation + removeTagPropagation(edge); + deleteEdge(edge, isInternal || forceDelete); } }
