You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by Sarath Subramanian <sa...@apache.org> on 2018/04/11 21:00:14 UTC

Review Request 66565: [ATLAS-2550]: On deleting entity with classification , classification is removed from the entity, but search on classification lists the entity #2

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/66565/
-----------------------------------------------------------

Review request for atlas, Apoorv Naik, Ashutosh Mestry, and Madhan Neethiraj.


Bugs: ATLAS-2550
    https://issues.apache.org/jira/browse/ATLAS-2550


Repository: atlas


Description
-------

1.Created an hive_table and added classification to it.
2.Dropped the hive_table.

The classification is removed from the hive_table entity. Entity response of hive_table doesn't have the classification. But search on that classification still returns the entity.


Diffs
-----

  repository/src/main/java/org/apache/atlas/discovery/ClassificationSearchProcessor.java 92acb5f3 
  repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityChangeNotifier.java e3f6f884 


Diff: https://reviews.apache.org/r/66565/diff/1/


Testing
-------

tested that full text search and index search doesn't retrieve deleted entities with tag


Thanks,

Sarath Subramanian