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

(Updated Jan. 7, 2021, 12:42 p.m.)


Review request for atlas, Ashutosh Mestry, Jayendra Parab, Madhan Neethiraj, 
Nixon Rodrigues, and Sarath Subramanian.


Changes
-------

Addressed review comments


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)
-----

  
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/DeleteHandlerV1.java
 7b2e2d3 


Diff: https://reviews.apache.org/r/73115/diff/2/

Changes: https://reviews.apache.org/r/73115/diff/1-2/


Testing
-------

Manual Testing is done.

PreCommit: 
https://ci-builds.apache.org/job/Atlas/job/PreCommit-ATLAS-Build-Test/291/console


Thanks,

Mandar Ambawane

Reply via email to