[ 
https://issues.apache.org/jira/browse/ATLAS-4399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17403250#comment-17403250
 ] 

Sarath Subramanian edited comment on ATLAS-4399 at 8/23/21, 4:05 PM:
---------------------------------------------------------------------

[~josephz], Atlas is a governance tool and it is important to store the 
metadata history of deleted entity as well. Currently there is no way to 
activate deleted entity in Atlas. If you reactive deleted entity, the metadata 
information of previous deleted entity is overriden and the history is lost. 

An entity in Atlas can have only one ACTIVE state and any number of DELETED 
entity states for the same qualifiedName.


was (Author: sarath.ku...@gmail.com):
[~josephz], Atlas is a governance tool and its key to store the metadata 
history of deleted entity as well. Currently there is no way to activate 
deleted entity in Atlas. If you reactive deleted entity, the metadata 
information of previous deleted entity is overriden and the history is lost. 

An entity in Atlas can have only one ACTIVE state and any number of DELETED 
entity states for the same qualifiedName.

> Restore deleted entity
> ----------------------
>
>                 Key: ATLAS-4399
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4399
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Zhang Joseph
>            Priority: Major
>              Labels: Restore
>
> Hi All,
> I have met this situation that when I delete one entity and entity status 
> changed from "ACTIVE" to "DELETED", then I want to re-active the entity with 
> same qualifiedName, but I got two entities with same qualifiedName, one with 
> status ACTIVE, another with status DELETED. instead of restoring the old one.
> Here is my questions:
>  # Can I create one entity with initial status "DELETED"?
>  # Do we have approach to restore deleted entity? I have read some clues 
> about OMRS ways but with no sample, and not find any code in atlas source 
> code.



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

Reply via email to