Note: lists.lfaidata.foundation will be down for maintenance on Wednesday, October 5th, starting at 9AM Pacific Time (4PM Wednesday October 5, 2022 UTC), for approximately one hour.
OK, it took me some time to reach your level of understanding, but hopefully the
scenario below really starts adding to our common understanding. While the
issue hurts you in a setup with multiple gremlin servers, the issue already
appears in a setup with a single gremlin server.
The scenario comprises the following steps:
1. start Cassandra with:
$ bin/janusgraph.sh start
2. start gremlin server:
$ bin/gremlin-server.sh conf/gremlin-server/gremlin-server-configuration8185.yaml
3. connect with a gremlin console and run the following commands:
gremlin> :remote connect tinkerpop.server conf/remote.yaml session
gremlin> :remote console
==>All scripts will now be sent to Gremlin Server - [localhost/127.0.0.1:8185]-[70e1320f-5c24-4804-9851-cc59db23e78e] - type ':remote console' to return to local mode
gremlin> map = new HashMap<String, Object>();
gremlin> map.put("storage.backend", "cql");
gremlin> map.put("storage.hostname", "127.0.0.1");
gremlin> map.put("graph.graphname", "graph6");
gremlin> ConfiguredGraphFactory.createConfiguration(new MapConfiguration(map));
... wait > 20 seconds
... new remote connection required for bindings to take effect
gremlin> :remote connect tinkerpop.server conf/remote8185.yaml session
No such property: graph6 for class: Script8
Type ':help' or ':h' for help.
Display stack trace? [yN]n
If you now restart the gremlin server and reconnect in gremlin console,
graph6 is opened on the server and available as binding in the console.
So, indeed the automatic opening + binding of graphs as intended in line 105 of
is somehow not functional.
Did we formulate the issue as succinct as possible now?
Best wishes, Marc