Hello,
I am encountering an issue while trying to configure JanusGraph to allow user-supplied-ids. I followed the guide and made the necessary settings, but it seems they are not taking effect. Here are the details of my environment and the steps I have taken:
JanusGraph version: 1.0.0
I started the Gremlin console using ./bin/gremlin.sh.
Following the documentation found at [Custom Vertex ID](
https://docs.janusgraph.org/master/advanced-topics/custom-vertex-id/), I executed the following commands:
`
gremlin> graph = JanusGraphFactory.open('inmemory')
15:50:12 INFO org.janusgraph.diskstorage.configuration.builder.ReadConfigurationBuilder.setupTimestampProvider - Set default timestamp provider MICRO
15:50:12 INFO org.janusgraph.graphdb.idmanagement.UniqueInstanceIdRetriever.getOrGenerateUniqueInstanceId - Generated unique-instance-id=7f0001012947944-ubuntu1
15:50:12 INFO org.janusgraph.diskstorage.configuration.ExecutorServiceBuilder.buildFixedExecutorService - Initiated fixed thread pool of size 320
15:50:12 INFO org.janusgraph.graphdb.database.StandardJanusGraph.<init> - Gremlin script evaluation is disabled
15:50:12 INFO org.janusgraph.diskstorage.log.kcvs.KCVSLog$MessagePuller.initializeTimepoint - Loaded unidentified ReadMarker start time 2024-08-29T07:50:12.927784Z into org.janusgraph.diskstorage.log.kcvs.KCVSLog$MessagePuller@148fca83
==>standardjanusgraph[inmemory:[127.0.0.1]]
gremlin> mgmt = graph.openManagement()
==>org.janusgraph.graphdb.database.management.ManagementSystem@3a13f663
gremlin> mgmt.set("graph.set-vertex-id", true)
==>org.janusgraph.diskstorage.configuration.UserModifiableConfiguration@56f61d74
gremlin> mgmt.commit()
==>null
`
However, when I called graph.features(), the result indicates that the setting has not been applied. See
`
gremlin> graph.features()
==>FEATURES
> VertexFeatures
...
>-- UserSuppliedIds: false
`
I am aware that the setting **graph.set-vertex-id** is of **GLOBAL_OFFLINE** mutability level according to the [Configuration Reference](
https://docs.janusgraph.org/configs/configuration-reference/), so I have not started any traversal instances on the graph, which I believe is the correct approach.
Could you please advise what might be causing this issue and how I can resolve it?
Thank you for your assistance.
Best regards,
Lesley