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

Handle deferred action pending tasks, once the feature is disabled and enabled.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • atlas-core
    • None

    Description

      Scenario:

      Suppose Atlas has many pending task in the background
      If we disable atlas.tasks.enable=false, i.e disable deferred action, then we can loose all the pending tasks related to classifications add or delete.

      Example:
      Entity A has tag a which is propagated to entire lineage.
      This tagging on propagated entities is been done by deferred action.
      Customer disabled deferred action.
      Now since all the propagated entities are left to tag with 'a', then if there is ranger policy wrt 'a' classification, then it would not work.

      Use cases:
      CLASSIFICATION_PROPAGATION_ADD

      • Classification applied on parent has been removed
      • New attribute has been added in Classification which is applied on parent
      • classification has been removed, applied again applied
      • Entity has been soft deleted with remove propagated tags as 'false'
      • Entity has been soft deleted with remove propagated tags as 'true'

      CLASSIFICATION_PROPAGATION_DELETE

      • Same classification applied on the parent
      • Same classification applied on the parent and then removed
      • Entity has been soft deleted

      Attachments

        Issue Links

          Activity

            People

              pinal Pinal Shah
              pinal Pinal Shah
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: