This is an automated email from the ASF dual-hosted git repository.
vgalaxies pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph.git
The following commit(s) were added to refs/heads/master by this push:
new a53af864b fix(server): ensure backend is initialized in gremlin script
(#2824)
a53af864b is described below
commit a53af864b31f803780a1db31cb20d3d94d5d34fc
Author: 橡皮膏 <[email protected]>
AuthorDate: Thu Jul 3 10:42:12 2025 +0800
fix(server): ensure backend is initialized in gremlin script (#2824)
---
.../hugegraph-dist/src/assembly/static/scripts/example.groovy | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/hugegraph-server/hugegraph-dist/src/assembly/static/scripts/example.groovy
b/hugegraph-server/hugegraph-dist/src/assembly/static/scripts/example.groovy
index 266206845..7f0be4769 100644
--- a/hugegraph-server/hugegraph-dist/src/assembly/static/scripts/example.groovy
+++ b/hugegraph-server/hugegraph-dist/src/assembly/static/scripts/example.groovy
@@ -23,6 +23,8 @@ RegisterUtil.registerBackends()
conf = "conf/graphs/hugegraph.properties"
graph = HugeFactory.open(conf)
+
+graph.initBackend()
graph.serverStarted(GlobalMasterInfo.master("server-tinkerpop"))
schema = graph.schema()