-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73115/
-----------------------------------------------------------
(Updated Jan. 18, 2021, 5:03 p.m.)
Review request for atlas, Ashutosh Mestry, Jayendra Parab, Madhan Neethiraj,
Nixon Rodrigues, and Sarath Subramanian.
Changes
-------
Added Test cases
Bugs: ATLAS-4069
https://issues.apache.org/jira/browse/ATLAS-4069
Repository: atlas
Description
-------
In method DeleteHandlerV1.deleteVertex()
Currently code fetches only Incoming edges of the Vertex to be deleted.
This patch does the following
1. Fetches all the Outgoing edges of the Vertex.
2. Iterates on each edge and then fetches the Vertex on the other side of the
edge (InVertex)
3. It checks the status of that particular vertex.
4. If that vertex is already deleted then only the current edge goes for soft
deletion.
Diffs (updated)
-----
intg/src/test/java/org/apache/atlas/TestRelationshipUtilsV2.java e276a42
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/DeleteHandlerV1.java
7b2e2d3
repository/src/test/java/org/apache/atlas/repository/store/graph/v2/AtlasRelationshipStoreSoftDeleteV2Test.java
1bf6b4e
repository/src/test/java/org/apache/atlas/repository/store/graph/v2/AtlasRelationshipStoreV2Test.java
9099924
Diff: https://reviews.apache.org/r/73115/diff/3/
Changes: https://reviews.apache.org/r/73115/diff/2-3/
Testing
-------
Manual Testing is done.
PreCommit:
https://ci-builds.apache.org/job/Atlas/job/PreCommit-ATLAS-Build-Test/291/console
Thanks,
Mandar Ambawane