Re: Can the graph.set-vertex-id setting be changed


Robert Dale <rob...@...>
 


FIXED:  Once the database has been opened, these configuration options cannot be changed for the entire life of the database

You will need to start a clean database backend then janusgraph with the property enabled for the first time . Afterwards, the property will be ignored.

If you're using `./bin/janusgraph.sh start` then that means setting it in `conf/gremlin-server/janusgraph-cassandra-es-server.properties`


Robert Dale

On Thu, Aug 10, 2017 at 6:08 PM, Rohit Jain <rohit.j...@...> wrote:
For the configuration setting graph.set-vertex-id, the documentation says:

Whether user provided vertex ids should be enabled and JanusGraph’s automatic id allocation be disabled. Useful when operating JanusGraph in concert with another storage system that assigns long ids but disables some of JanusGraph’s advanced features which can lead to inconsistent data. EXPERT FEATURE - USE WITH GREAT CARE.

However, it also says the mutability for this setting is FIXED.  If you try to set it in the CONF file, it says you should set it using the Management Interface.  When you try to change it there it says:

gremlin> mgmt.set('graph.set-vertex-id', true)
Cannot change the fixed configuration option: root.graph.set-vertex-id

So, which is it?  Can it be changed?  If it can, how?  If it cannot, then why even document it, or clearly say that it cannot be set, and for the error when setting it in the CONF file to stop saying use the management interface to set it.

Rohit

--
You received this message because you are subscribed to the Google Groups "JanusGraph users list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Join janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.