[ 
https://issues.apache.org/jira/browse/ATLAS-3863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sarath Subramanian updated ATLAS-3863:
--------------------------------------
    Description: 
Tag propagation is re-evaluated every time when a relationship (edge) is 
deleted.

Removal of propagated classifications is controlled at the assignment time to 
an entity:

!image-2020-06-24-12-51-38-941.png|width=716,height=272!

 
 * {color:#172b4d}Remove propagation on entity delete - *TRUE :* {color}
 ** _Propagated classifications (to all downstream entities) will be removed 
when the source entity where the classification is originally assigned is 
deleted._

 
 * Remove propagation on entity delete - *FALSE :* 
 ** _Propagated classifications (to all downstream entities) will *not* be 
removed when the          source entity where the classification is originally 
assigned is deleted._

 

There is no need to revaluate tag propagation during relationship (edge) 
deletion since removal of tag propagation depends on the above config

 

*Significant performance improvement observed: 83% performance improvement 
seen.*

Deleting a hive_table entity (with 44 columns and 16 propagated classifications)

{{Before patch : 279 secs (4 mins, 39 secs) }}

{{After patch  : 46.92 secs}}

 
 

  was:
Tag propagation is re-evaluated every time when a relationship (edge) is 
deleted.

Removal of propagated classifications is controlled at the assignment time to 
an entity:

!image-2020-06-24-12-51-38-941.png|width=716,height=272!

 
 * {color:#172b4d}Remove propagation on entity delete - *TRUE :* {color}
 ** _Propagated classifications (to all downstream entities) will be removed 
when the source entity where the classification is originally assigned is 
deleted._

 
 * Remove propagation on entity delete - *FALSE :* 
 ** _Propagated classifications (to all downstream entities) will *not* be 
removed when the          source entity where the classification is originally 
assigned is deleted._

 

There is no need to revaluate tag propagation during relationship (edge) 
deletion since removal of tag propagation depends on the above config.


> Avoid re-evaluating tag propagation when deleting relationship (edge)
> ---------------------------------------------------------------------
>
>                 Key: ATLAS-3863
>                 URL: https://issues.apache.org/jira/browse/ATLAS-3863
>             Project: Atlas
>          Issue Type: Improvement
>          Components:  atlas-core
>    Affects Versions: 2.0.0
>            Reporter: Sarath Subramanian
>            Assignee: Sarath Subramanian
>            Priority: Major
>              Labels: classification, tagpropagation
>             Fix For: 2.1.0
>
>         Attachments: ATLAS-3863.001.patch, image-2020-06-24-12-51-38-941.png
>
>
> Tag propagation is re-evaluated every time when a relationship (edge) is 
> deleted.
> Removal of propagated classifications is controlled at the assignment time to 
> an entity:
> !image-2020-06-24-12-51-38-941.png|width=716,height=272!
>  
>  * {color:#172b4d}Remove propagation on entity delete - *TRUE :* {color}
>  ** _Propagated classifications (to all downstream entities) will be removed 
> when the source entity where the classification is originally assigned is 
> deleted._
>  
>  * Remove propagation on entity delete - *FALSE :* 
>  ** _Propagated classifications (to all downstream entities) will *not* be 
> removed when the          source entity where the classification is 
> originally assigned is deleted._
>  
> There is no need to revaluate tag propagation during relationship (edge) 
> deletion since removal of tag propagation depends on the above config
>  
> *Significant performance improvement observed: 83% performance improvement 
> seen.*
> Deleting a hive_table entity (with 44 columns and 16 propagated 
> classifications)
> {{Before patch : 279 secs (4 mins, 39 secs) }}
> {{After patch  : 46.92 secs}}
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to