Replies: 1 comment 7 replies
-
Did you by chance use the reserved character in your vertex ID? https://docs.janusgraph.org/advanced-topics/custom-vertex-id/#override-reserved-character How frequent does this happen? How common is it?
This might still be a ghost vertex. Have you checked out https://docs.janusgraph.org/advanced-topics/eventual-consistency/#ghost-vertices? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using JanusGraph as a base to power a graph service in my org. One day randomly for few queries I started getting an error like following :
Caused by: java.lang.IllegalStateException: Vertex with id <ID> was removed. org.janusgraph.core.InvalidElementException.removedException(InvalidElementException.java:57) org.janusgraph.graphdb.vertices.AbstractVertex.it(AbstractVertex.java:60) at org.janusgraph.graphdb.transaction.StandardJanusGraphTx.query(StandardJanusGraphTx.java:1226) at org.janusgraph.graphdb.vertices.AbstractVertex.getVertexLabelInternal(AbstractVertex.java:126) at org.janusgraph.graphdb.vertices.AbstractVertex.vertexLabel(AbstractVertex.java:131) at org.janusgraph.graphdb.vertices.AbstractVertex.label(AbstractVertex.java:122) at org.apache.tinkerpop.gremlin.structure.io.graphson.GraphSONSerializersV3$EdgeJacksonSerializer.serialize(GraphSONSerializersV3.java:167) at org.apache.tinkerpop.gremlin.structure.io.graphson.GraphSONSerializersV3$EdgeJacksonSerializer.serialize(GraphSONSerializersV3.java:145)
I am using custom id approach to generate the vertex ids, using hbase as the backend data store. I checked in hbase and for the row key that is constructed out of the vertex id for which i get this error, i am able to get some data from hbase shell.
On doing query for this vertex like
g.V().has('some_identifier_property', 'property value')
I am getting empty result,
and similarly for query like
g.V('CUSTOM_ID').hasNext() \\OR g.V('CUSTOM_ID').next()
I am getting empty result. For queries where i am fetching edges where this vertex is at the other end, the call breaks with the error shown above.
I am a bit clueless on how to proceed further in debugging and this is causing us to re-evaluate if JanusGraph can be inconsistent in some scenarios. Any help would be appreciated as this is super critical for functioning of my project.
@li-boxuan @mbroecheler @farodin91 saw your commits in the hbaseStoreManager so tagging you for reference.
Beta Was this translation helpful? Give feedback.
All reactions