chaitalicod commented on code in PR #377:
URL: https://github.com/apache/atlas/pull/377#discussion_r2281340644


##########
repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphRetriever.java:
##########
@@ -698,7 +701,7 @@ private void traverseImpactedVertices(final AtlasVertex 
entityVertexStart, final
             Iterable<AtlasEdge> propagationEdges = 
entityVertex.getEdges(AtlasEdgeDirection.BOTH, tagPropagationEdges);
 
             for (AtlasEdge propagationEdge : propagationEdges) {
-                if (getEdgeStatus(propagationEdge) != ACTIVE) {
+                if (getEdgeStatus(propagationEdge) != ACTIVE && 
!deferredActionEnabled && !RequestContext.get().isImportInProgress()) {

Review Comment:
   Hello @mneethiraj ,
   Tags are not getting propagated when deferred actions are true due to the 
course of actions taking place 
   Entities marked for deletion get deleted and then the add propagation task 
is executed which eventually skips propagation as it find the edge status as 
deleted 
   Hence this check makes sure that tags will get propagated when deferred 
actions is true



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@atlas.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to