[
https://issues.apache.org/jira/browse/ATLAS-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16836008#comment-16836008
]
ASF subversion and git services commented on ATLAS-3135:
--------------------------------------------------------
Commit fdc7020bc15cdc1f40a864549c095450c177fde7 in atlas's branch
refs/heads/branch-1.0 from Madhan Neethiraj
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=fdc7020 ]
ATLAS-3135: typedef-delete with empty typedefs result in search failures
(cherry picked from commit 55ef909cbc132945f9de65a6d00e22a1dead8ee1)
> 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: ATLAS-3135.patch, 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,
> image-2019-04-13-11-46-23-779.png
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Currently, when we use
> [http://IP:21000/api/atlas/v2/types/typedefs/|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-45-12-868.png!
> !image-2019-04-13-11-45-20-381.png!
>
> exec
> [http://IP:21000/api/atlas/v2/types/typedefs/|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-45-32-642.png!
> messy data:
> !image-2019-04-13-11-45-39-847.png!
> !image-2019-04-13-11-46-23-779.png!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)