You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.
AIM is remove the ghost vertex which is formed which does not consists of all the properties desired since the code error out.
Below snippet calls the function where vertex is added with the properties
Calling function acceptRecord(record) throws an error when Property already exists which is unique and it is trying to add the same Property (key,value).
Since EID already exists, the below code throws an error but the JanusGraphVertex v = graphTransaction.addVertex(vertexLabel); has already been added which never gets deleted and leaves a ghost vertex.
Will changing the block to try catch work plus using graphTransaction.rollback() or v.remove(), to delete the vertex in the catch block
The text was updated successfully, but these errors were encountered:
SarthakGhosh16
changed the title
JanusGraphVertex added remains in the Graph DB if property alraedy exist
JanusGraphVertex added remains in the Graph DB if property already exist
Mar 21, 2019
Description
AIM is remove the ghost vertex which is formed which does not consists of all the properties desired since the code error out.
Below snippet calls the function where vertex is added with the properties
Calling function acceptRecord(record) throws an error when Property already exists which is unique and it is trying to add the same Property (key,value).
Since EID already exists, the below code throws an error but the
JanusGraphVertex v = graphTransaction.addVertex(vertexLabel); has already been added which never gets deleted and leaves a ghost vertex.
Will changing the block to try catch work plus using graphTransaction.rollback() or v.remove(), to delete the vertex in the catch block
The text was updated successfully, but these errors were encountered: