JanusGraph / janusgraph

JanusGraph: an open-source, distributed graph database
https://janusgraph.org
Other
5.32k stars 1.17k forks source link

Dynamic traversal source does not get updated when graphs created using ConfiguredGraphFactory with gremlin server documentation #1268

Open mchandrasekar opened 6 years ago

mchandrasekar commented 6 years ago

Even with this change #1199, if the janusgraph documentation for starting up gremlin-server is followed as suggested here. Graph traversal sources does not get updated.

Problem is, the documentation uses org.apache.tinkerpop.gremlin.server.channel.WsAndHttpChannelizer. Which does not initialize this thread as its started by this.

Needs a documentation update, either in here to use the JanusGaph channelizers or add info here

melgenek commented 3 years ago

For those, who bumps into this issue: the solution is to replace the Tinkerpop's channelizer org.apache.tinkerpop.gremlin.server.channel.WsAndHttpChannelizer with the Janus' channelizer org.janusgraph.channelizers.JanusGraphWsAndHttpChannelizer.