You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by ma...@apache.org on 2018/05/22 00:13:23 UTC

atlas git commit: ATLAS-2710: basic-search doesn't return deleted entities though excludeDeletedEntities is False

Repository: atlas
Updated Branches:
  refs/heads/master 65338c4de -> 541c11020


ATLAS-2710: basic-search doesn't return deleted entities though excludeDeletedEntities is False


Project: http://git-wip-us.apache.org/repos/asf/atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/541c1102
Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/541c1102
Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/541c1102

Branch: refs/heads/master
Commit: 541c11020c628763b4b2770eb4c1cf0268a783b0
Parents: 65338c4
Author: Madhan Neethiraj <ma...@apache.org>
Authored: Mon May 21 15:50:59 2018 -0700
Committer: Madhan Neethiraj <ma...@apache.org>
Committed: Mon May 21 15:50:59 2018 -0700

----------------------------------------------------------------------
 .../apache/atlas/repository/store/graph/v1/DeleteHandlerV1.java  | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/atlas/blob/541c1102/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 f417b4e..b4d26d0 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
@@ -933,9 +933,5 @@ public abstract class DeleteHandlerV1 {
 
             deleteEdgeReference(edge, CLASSIFICATION, false, false, instanceVertex);
         }
-
-        //remove traitNames and propagatedTraitNames property from instanceVertex
-        instanceVertex.removeProperty(TRAIT_NAMES_PROPERTY_KEY);
-        instanceVertex.removeProperty(PROPAGATED_TRAIT_NAMES_PROPERTY_KEY);
     }
 }