-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57786/
-----------------------------------------------------------
(Updated March 28, 2017, 7:34 p.m.)
Review request for atlas, Ashutosh Mestry, Madhan Neethiraj, Sarath
Subramanian, and Suma Shivaprasad.
Changes
-------
Added checks in struct/entitydef stores to check for instance vertex prior to
deletion
Bugs: ATLAS-1673
https://issues.apache.org/jira/browse/ATLAS-1673
Repository: atlas
Description
-------
When a type (wihout any references/instances) is deleted, the transient
registry still retains it and leads to inconsistent data. This forbids
recreation of the same type as long as the server is active and not restarted.
Diffs (updated)
-----
repository/src/main/java/org/apache/atlas/repository/graph/GraphBackedSearchIndexer.java
43d6389c
repository/src/main/java/org/apache/atlas/repository/store/graph/AtlasTypeDefGraphStore.java
b3e2f755
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityDefStoreV1.java
0771a3ac
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasGraphUtilsV1.java
13b4e9b2
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasStructDefStoreV1.java
2bc36da6
Diff: https://reviews.apache.org/r/57786/diff/2/
Changes: https://reviews.apache.org/r/57786/diff/1-2/
Testing
-------
mvn clean install executes successfully with same failures as seen on
builds.apache.org
Thanks,
Apoorv Naik