Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-3863

Avoid re-evaluating tag propagation when deleting relationship (edge)

    XMLWordPrintableJSON

    Details

      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:

       

      • Remove propagation on entity delete - TRUE : 
        • 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

       
       

        Attachments

        1. ATLAS-3863.001.patch
          3 kB
          Sarath Subramanian
        2. image-2020-06-24-12-51-38-941.png
          67 kB
          Sarath Subramanian

          Issue Links

            Activity

              People

              • Assignee:
                sarath Sarath Subramanian
                Reporter:
                sarath Sarath Subramanian
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: