Closed pasalkarsachin1 closed 6 years ago
Hi Sachin, Please read the following two documents: http://docs.janusgraph.org/latest/common-questions.html#_ghost_vertices http://docs.janusgraph.org/latest/eventual-consistency.html#ghost-vertices To sum up, ghost vertexes will appear in some storage backends (as defined by JanusGraph), and DynamoDB is no exception. You need to prevent them using key uniqueness (expensive), periodically sweep and remove them, or use soft deletes (recommended) and filter them out at the traversal level. You can combine the second and third approaches to delete with soft deletes and periodically sweep and remove the logically deleted entities. Thank you Alex
@amcp I see the class as GhostVertexRemover in JanusGraph, is it useful? Is there any documentation around it?
Hi,
I am using JanusGraph with DynamoDB as back-end. I have started observing the ghost vertex, when I opened graph & executed below gremlin query for vertex id, it didn't return anything
But when I query the edge which has vertex id as 326859528, I see there are multiple edges
Now I query for existence of vertex again, it shows the vertex now 🤔
So I tried to commit transaction so that newly created vertex will be saved
Then exited from Gremlin & restarted session but vertex is gone again.
Even I exported graph & imported it in different system but it fails with below error
CC: @amcp