Replies: 1 comment 2 replies
-
This is weird, could it be because you have database level cache enabled? |
Beta Was this translation helpful? Give feedback.
2 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.
-
I'm not 100% sure but it looks like
CacheVertex.refresh()
doesn't refresh cached edges related to this vertex for some reason.It looks like this is reproducible only on separate JanusGraph servers. I started 2 JanusGraph servers which don't share the same JVM and after I added an edge from one vertex to another I can't retrieve this edge on another server even after refresh.
It could be that I'm doing something wrong.
@li-boxuan as you were adding this feature, would you be able to confirm that
refresh
method refreshes cache only in a single JanusGraph instance but not on different JanusGraph servers? If that's the case, that's fine and I should probably find out how to invalidate cache properly. Otherwise it could probably be a bug. Invalidating cache in a single JanusGraph instance works as expected. For example, the below test passes because 2 transactions are related to the same JanusGraph instance.Beta Was this translation helpful? Give feedback.
All reactions