Hi all,

 

Is it currently possible to hard delete (purge) Relationships and RelationshipDefs via the API?

 

Currently (apologies if I’m missing something) it seems to be the case that:

 

  1. The /admin/purge endpoint expects guids for Entities, not Relationships, so purging deleted Relationships fails. If I try to purge a Relationship which is already deleted, I see two consecutive log messages: “Purge request ignored for non-existent/active entity with guid <my-relationship-guid> (AtlasEntityStoreV2:574)” and “No purge candidate entities were found for guids: [<my-relationship-guid>] which is already deleted (AtlasEntityStoreV2:583)”
  2. Because the soft-deleted Relationships still exist, deleting the RelationshipDef fails (reasonably enough) with “Given type <my-relationshipdef-name> has references”.

 

Is there a way to clear this stuff via the Atlas API? If not, is the only recourse to connect to JanusGraph directly?

 

Kind regards,

 

--Ryan

Reply via email to