[
https://issues.apache.org/jira/browse/ATLAS-4908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pinal Shah updated ATLAS-4908:
------------------------------
Summary: Handle deferred action pending tasks, once the feature is disabled
and enabled. (was: Handle deferred action pending tasks, once the feature is
disabled.)
> Handle deferred action pending tasks, once the feature is disabled and
> enabled.
> -------------------------------------------------------------------------------
>
> Key: ATLAS-4908
> URL: https://issues.apache.org/jira/browse/ATLAS-4908
> Project: Atlas
> Issue Type: Improvement
> Components: atlas-core
> Reporter: Pinal Shah
> Assignee: Pinal Shah
> Priority: Major
>
> *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
> h3.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)