[
https://issues.apache.org/jira/browse/ATLAS-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
caoxuewen updated ATLAS-3135:
-----------------------------
Attachment: image-2019-04-13-11-45-39-847.png
> delete null data from typedefs results in messy data
> ----------------------------------------------------
>
> Key: ATLAS-3135
> URL: https://issues.apache.org/jira/browse/ATLAS-3135
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Affects Versions: 1.1.0
> Reporter: caoxuewen
> Priority: Major
> Fix For: 1.1.0
>
> Attachments: image-2019-04-13-11-45-12-868.png,
> image-2019-04-13-11-45-20-381.png, image-2019-04-13-11-45-32-642.png,
> image-2019-04-13-11-45-39-847.png, image-2019-04-13-11-45-47-698.png
>
>
> Currently, when we use http://IP:21000/api/atlas/v2/types/typedefs/, deleting
> the data of typedefs is empty
> (\{"enumDefs":[],"structDefs":[],"classificationDefs":[],"entityDefs":[],"relationshipDefs":[]}),
> it will lead to messy data, and basic search error, so the atlas system must
> be restarted in order to recover the data.
> Correct data:
> !image-2019-04-13-11-40-14-653.png!
> !image-2019-04-13-11-40-26-552.png!
>
> exec http://IP:21000/api/atlas/v2/types/typedefs/, json data:
> \{"enumDefs":[],"structDefs":[],"classificationDefs":[],"entityDefs":[],"relationshipDefs":[]}
> atlas entity data is: (basic search is error)
> !image-2019-04-13-11-42-28-808.png!
> messy data:
> !image-2019-04-13-11-42-36-593.png!
> !image-2019-04-13-11-43-27-551.png!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)