You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Petrina Zheng (JIRA)" <ji...@apache.org> on 2017/08/09 02:24:00 UTC

[jira] [Created] (ATLAS-2034) hard delete metadata fails

Petrina Zheng created ATLAS-2034:
------------------------------------

             Summary: hard delete metadata fails
                 Key: ATLAS-2034
                 URL: https://issues.apache.org/jira/browse/ATLAS-2034
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
    Affects Versions: 0.8-incubating
         Environment: windows 7
            Reporter: Petrina Zheng
            Priority: Critical
         Attachments: error.log

hard delete metadata fails because current logic is like this:

1. hard delete entity vertices;

2. notify listeners in which trying to find ITypeReferenceable by entity id while the entity is hard deleted already.

3. notify fails and throws Exception.

To enable hard delete, I config the "atlas.DeleteHandlerV1.impl =org.apache.atlas.repository.store.graph.v1.HardDeleteHandlerV1"

The api I used is "DELETE v2/entity/guid/{guid}"



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)