You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hugegraph.apache.org by gi...@apache.org on 2026/10/17 09:54:50 UTC
(hugegraph-doc) branch asf-site updated: Deploy production site from run 39022040585 attempt 1 dd0693f584c63e9c0ed9ae3d201f22467a9d6873
This is an automated email from the ASF dual-hosted git repository.
github-actions[bot] pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/hugegraph-doc.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 8d1596b6c Deploy production site from run 39022040585 attempt 1 dd0693f584c63e9c0ed9ae3d201f22467a9d6873
8d1596b6c is described below
commit 8d1596b6c1f0e3d57c30a20a15a65d72cc962d91
Author: imbajin <im...@users.noreply.github.com>
AuthorDate: Sat Oct 17 09:54:44 2026 +0000
Deploy production site from run 39022040585 attempt 1 dd0693f584c63e9c0ed9ae3d201f22467a9d6873
---
.version.json | 2 +-
_print/docs/config/index.html | 2 +-
_print/docs/guides/index.html | 4 ++--
_print/docs/index.html | 8 ++++----
_print/docs/quickstart/hugegraph/index.html | 2 +-
_print/docs/quickstart/index.html | 2 +-
build-metadata/versions.json | 2 +-
cn/_print/docs/config/index.html | 2 +-
cn/_print/docs/guides/index.html | 4 ++--
cn/_print/docs/index.html | 8 ++++----
cn/_print/docs/quickstart/hugegraph/index.html | 2 +-
cn/_print/docs/quickstart/index.html | 2 +-
cn/docs/config/config-guide/index.html | 6 +++---
cn/docs/config/config-guide/index.md | 2 +-
cn/docs/config/index.xml | 2 +-
cn/docs/guides/hugegraph-docker-cluster/index.html | 10 +++++-----
cn/docs/guides/hugegraph-docker-cluster/index.md | 4 +++-
cn/docs/guides/index.xml | 2 +-
cn/docs/llms-full.txt | 8 ++++++--
cn/docs/quickstart/hugegraph/hugegraph-pd/index.html | 6 +++---
cn/docs/quickstart/hugegraph/hugegraph-pd/index.md | 2 ++
cn/docs/quickstart/hugegraph/index.xml | 2 +-
cn/index.xml | 2 +-
cn/sitemap.xml | 2 +-
docs/config/config-guide/index.html | 8 ++++----
docs/config/config-guide/index.md | 2 +-
docs/config/index.xml | 2 +-
docs/guides/hugegraph-docker-cluster/index.html | 10 +++++-----
docs/guides/hugegraph-docker-cluster/index.md | 4 +++-
docs/guides/index.xml | 2 +-
docs/llms-full.txt | 8 ++++++--
docs/quickstart/hugegraph/hugegraph-pd/index.html | 8 ++++----
docs/quickstart/hugegraph/hugegraph-pd/index.md | 2 ++
docs/quickstart/hugegraph/index.xml | 2 +-
en/sitemap.xml | 2 +-
index.xml | 2 +-
36 files changed, 78 insertions(+), 62 deletions(-)
diff --git a/.version.json b/.version.json
index c165f7d81..fa0a8b904 100644
--- a/.version.json
+++ b/.version.json
@@ -25,7 +25,7 @@
"nonEquivalentHreflangRemoved": 0,
"publishPath": "",
"ref": "master",
- "sha": "10f7927c49b13b0e49d03221d6d58ece708c817e",
+ "sha": "dd0693f584c63e9c0ed9ae3d201f22467a9d6873",
"urlScoping": {
"files": 316,
"historicalHomeRedirects": 0,
diff --git a/_print/docs/config/index.html b/_print/docs/config/index.html
index d16898db0..9820a9b63 100644
--- a/_print/docs/config/index.html
+++ b/_print/docs/config/index.html
@@ -4,7 +4,7 @@ Server Configuration Guide Server Configuration Options Authentication and Autho
Server Configuration Guide Server Configuration Options Authentication and Authorization HTTPS Configuration Backend Configuration HBase Backend Configuration HStore Backend Configuration RocksDB Backend Configuration"><meta itemprop=dateModified content="2026-09-18T00:34:03+08:00"><meta itemprop=wordCount content="34"><meta itemprop=image content="https://hugegraph.apache.org/img/social/hugegraph-apache.png"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image [...]
Server Configuration Guide Server Configuration Options Authentication and Authorization HTTPS Configuration Backend Configuration HBase Backend Configuration HStore Backend Configuration RocksDB Backend Configuration"><link rel=preload href=/scss/main.min.368f17d8dfe88c22ed1c46abfd8981c273eded2a3b17431e36754a3d9c842a15.css as=style integrity="sha256-No8X2N/ojCLtHEar/YmBwnPt7So7F0MeNnVKPZyEKhU=" crossorigin=anonymous><link href=/scss/fontawesome.min.d1b0898e80994c0e0be2e673debfd8c2e5eb8c [...]
<button type=button class="btn btn-link p-0 align-baseline" data-td-action=print>Click here to print</button>.</p><p><a href=/docs/config/>Return to the regular view of this page</a>.</p></div><h1 class=title>HugeGraph-Server Configuration</h1><ul><li>1: <a href=#pg-af7e8f1dc385b255c4f38b3cbafe224a>Server Startup Guide</a></li><li>2: <a href=#pg-6bfbb2db4e1f281942d741cef305e724>Server Complete Configuration Manual</a></li><li>3: <a href=#pg-7d189549d4201521c83e0d93a2474a2d>Built-in User [...]
-The file-loading behavior on this page was checked against Server master commit <code>2f827d6</code>. Use the configuration files and entry scripts that correspond to your installed release.</p><div class="td-table-scroll td-table-scroll--static"><table><thead><tr><th scope=col>File</th><th scope=col>Source and purpose</th><th scope=col>Loading behavior</th></tr></thead><tbody><tr><td><code>conf/gremlin-server.yaml</code></td><td>Shipped with the distribution; configures Gremlin Server.< [...]
+The file-loading behavior on this page was checked against Server master commit <code>2f827d6</code>. Use the configuration files and entry scripts that correspond to your installed release.</p><div class="td-table-scroll td-table-scroll--static"><table><thead><tr><th scope=col>File</th><th scope=col>Source and purpose</th><th scope=col>Loading behavior</th></tr></thead><tbody><tr><td><code>conf/gremlin-server.yaml</code></td><td>Shipped with the distribution; configures Gremlin Server.< [...]
</span></span></span><span class=line><span class=ln>2</span><span class=cl><span class=c>#port: 8182</span><span class=w>
</span></span></span><span class=line><span class=ln>3</span><span class=cl><span class=nt>evaluationTimeout</span><span class=p>:</span><span class=w> </span><span class=m>30000</span><span class=w>
</span></span></span><span class=line><span class=ln>4</span><span class=cl><span class=nt>channelizer</span><span class=p>:</span><span class=w> </span><span class=l>org.apache.tinkerpop.gremlin.server.channel.WsAndHttpChannelizer</span><span class=w>
diff --git a/_print/docs/guides/index.html b/_print/docs/guides/index.html
index d7f9e9e5b..2fd4e327d 100644
--- a/_print/docs/guides/index.html
+++ b/_print/docs/guides/index.html
@@ -561,7 +561,7 @@ Merging mode as needed, and when the Restore is completed, restore the graph mod
</span></span><span class=line><span class=ln>2</span><span class=cl>curl -o /dev/null -w <span class=s1>'%{http_code}\n'</span> <span class=se>\
</span></span></span><span class=line><span class=ln>3</span><span class=cl> http://localhost:8080/graphspaces/DEFAULT/graphs <span class=c1># Expect 401</span>
</span></span><span class=line><span class=ln>4</span><span class=cl>curl -o /dev/null -w <span class=s1>'%{http_code}\n'</span> -u <span class=s2>"admin:</span><span class=si>${</span><span class=nv>HUGEGRAPH_ADMIN_PASSWORD</span><span class=si>}</span><span class=s2>"</span> <span class=se>\
-</span></span></span><span class=line><span class=ln>5</span><span class=cl> http://localhost:8080/graphspaces/DEFAULT/graphs <span class=c1># Expect 200</span></span></span></code></pre></div></div></div><p>The other Server nodes listen on <code>8081</code> and <code>8082</code>; the remaining PD and Store nodes use <code>8621</code>/<code>8622</code> and <code>8521</code>/<code>8522</code>.</p><h2 id=pg-e0d85ec18e6b33c4b55ae5d9a2ea88e3--environment-variable-refere [...]
+</span></span></span><span class=line><span class=ln>5</span><span class=cl> http://localhost:8080/graphspaces/DEFAULT/graphs <span class=c1># Expect 200</span></span></span></code></pre></div></div></div><p>The other Server nodes listen on <code>8081</code> and <code>8082</code>; the remaining PD and Store nodes use <code>8621</code>/<code>8622</code> and <code>8521</code>/<code>8522</code>.</p><h2 id=pg-e0d85ec18e6b33c4b55ae5d9a2ea88e3--environment-variable-refere [...]
signing keys. Use the same key on every Server replica. When upgrading from an image that misread such a key, explicitly supply the intended
<code>HG_SERVER_AUTH_TOKEN_SECRET</code> again; retaining the old configuration also retains its misread key. If the active key changes, sign in again to
obtain new tokens. The 1.7.0 image limitation above still applies.</p><p>Older images could initialize a Unicode administrator password incorrectly when the initializer inherited the C locale. Upgrading or setting
@@ -573,7 +573,7 @@ request has no timeout. With the default value, a stalled final response times o
GNU timeout’s limit.
The entrypoint waits for <code>wait-partition.sh</code> before waiting for the Java launcher. If Java exits while partition polling is still waiting,
that poll can consume its full timeout before the entrypoint observes the exit. If polling succeeds, the diagnostic step can then consume
-a second full timeout before observation finishes; signal-triggered shutdown remains interruptible.</p><p><code>HG_SERVER_INIT_STORE_ENABLED</code> accepts only the case-insensitive boolean values recognized by <code>HugeConfig</code>: <code>y</code>, <code>t</code>, <code>yes</code>, <code>on</code>, <code>true</code>, <code>n</code>, <code>f</code>, <code>no</code>, <code>off</code>, <code>false</code>. Other values, including <code>0</code> and <code>1</code>, terminate the entrypoint [...]
+a second full timeout before observation finishes; signal-triggered shutdown remains interruptible.</p><p><code>HG_SERVER_INIT_STORE_ENABLED</code> and <code>HG_SERVER_DEPLOY_IN_K8S</code> accept only the case-insensitive boolean values recognized by <code>HugeConfig</code>: <code>y</code>, <code>t</code>, <code>yes</code>, <code>on</code>, <code>true</code>, <code>n</code>, <code>f</code>, <code>no</code>, <code>off</code>, <code>false</code>. Other values, including <code>0</code> and [...]
</span></span><span class=line><span class=ln>2</span><span class=cl>curl -fsS -u <span class=s2>"hg:</span><span class=si>${</span><span class=nv>HG_PD_AUTH_SECRET_KEY</span><span class=p>:?Load .env first</span><span class=si>}</span><span class=s2>"</span> http://localhost:8620/v1/stores</span></span></code></pre></div></div></div><p>PD can complete partition allocation once all three Stores report <code>"state":"Up"</code>.</p></li><li><p><strong>Connection refused</strong>: [...]
master, the PD, Store and both Server images (<code>hugegraph/hugegraph</code> and the HStore <code>hugegraph/server</code>) set <code>STDOUT_MODE=true</code> and send service logs to stdout.
For the Server, WARN and above from Hadoop, ZooKeeper, SOFA, Netty and Commons also reaches stdout; INFO from Hadoop, Netty and Commons and the audit and
diff --git a/_print/docs/index.html b/_print/docs/index.html
index e26a403cf..aaeb2905f 100644
--- a/_print/docs/index.html
+++ b/_print/docs/index.html
@@ -422,7 +422,7 @@ Omit <code>-g</code> for the default path. For rejected values, inspect <code>lo
</span></span><span class=line><span class=ln>32</span><span class=cl> <span class=s2>"numOfNormalService"</span><span class=o>:</span> <span class=mi>1</span>
</span></span><span class=line><span class=ln>33</span><span class=cl> <span class=p>},</span>
</span></span><span class=line><span class=ln>34</span><span class=cl> <span class=s2>"status"</span><span class=o>:</span> <span class=mi>0</span>
-</span></span><span class=line><span class=ln>35</span><span class=cl><span class=p>}</span></span></span></code></pre></div></div></div><h4 id=pg-e95a3dd8d4e602df35b0b6d668d7f31b--75-other-rest-endpoints>7.5 Other REST endpoints</h4><p>All paths below are relative to <code>http://<pd-host>:8620</code> and need the Basic header from section 7.1 unless noted.</p><div class="td-table-scroll td-table-scroll--static"><table><thead><tr><th scope=col>Method and path</th><th scope=col>Descri [...]
+</span></span><span class=line><span class=ln>35</span><span class=cl><span class=p>}</span></span></span></code></pre></div></div></div><h4 id=pg-e95a3dd8d4e602df35b0b6d668d7f31b--75-other-rest-endpoints>7.5 Other REST endpoints</h4><p>All paths below are relative to <code>http://<pd-host>:8620</code> and need the Basic header from section 7.1 unless noted.</p><div class="td-table-scroll td-table-scroll--static"><table><thead><tr><th scope=col>Method and path</th><th scope=col>Descri [...]
the start script rejects older runtimes; 1.7.0 is the last release supporting Java 11)</li><li>Maven version: ≥ 3.6.3 (for building from source)</li><li>Deploy HugeGraph-PD first for multi-node deployment</li></ul><h3 id=pg-798ddadd53db4fb98beb621b93f015d0--3-deployment>3 Deployment</h3><p>There are two ways to deploy the HugeGraph-Store component:</p><ul><li>Method 1: Download the tar package</li><li>Method 2: Compile from source</li></ul><h4 id=pg-798ddadd53db4fb98beb621b93f015d0--31-d [...]
</span></span><span class=line><span class=ln>2</span><span class=cl>curl -fLO --connect-timeout <span class=m>10</span> --max-time <span class=m>1800</span> https://downloads.apache.org/hugegraph/1.7.0/apache-hugegraph-incubating-1.7.0.tar.gz
</span></span><span class=line><span class=ln>3</span><span class=cl>tar zxf apache-hugegraph-incubating-1.7.0.tar.gz
@@ -3566,7 +3566,7 @@ for a successful Gremlin protocol status (2xx).</p><div class="td-code td-code--
</span></span></span><span class=line><span class=ln>12</span><span class=cl><span class=w> </span><span class=nx>log</span><span class=p>.</span><span class=nf>Fatalf</span><span class=p>(</span><span class=s>"Gremlin returned status %d: %s"</span><span class=p>,</span><span class=w> </span><span class=nx>resp</span><span class=p>.</span><span class=nx>Data</span><span class=p>.</span><span class=nx>Status</span><span class=p>.</span><span class=nx>Code</span><span class=p>,</sp [...]
</span></span></span><span class=line><span class=ln>13</span><span class=cl><span class=p>}</span><span class=w>
</span></span></span><span class=line><span class=ln>14</span><span class=cl><span class=nx>fmt</span><span class=p>.</span><span class=nf>Println</span><span class=p>(</span><span class=nx>resp</span><span class=p>.</span><span class=nx>Data</span><span class=p>.</span><span class=nx>Result</span><span class=p>.</span><span class=nx>Data</span><span class=p>)</span></span></span></code></pre></div></div></div><blockquote><p>The <code>Vertex</code> operations take <code>model.Vertex[any] [...]
-The file-loading behavior on this page was checked against Server master commit <code>2f827d6</code>. Use the configuration files and entry scripts that correspond to your installed release.</p><div class="td-table-scroll td-table-scroll--static"><table><thead><tr><th scope=col>File</th><th scope=col>Source and purpose</th><th scope=col>Loading behavior</th></tr></thead><tbody><tr><td><code>conf/gremlin-server.yaml</code></td><td>Shipped with the distribution; configures Gremlin Server.< [...]
+The file-loading behavior on this page was checked against Server master commit <code>2f827d6</code>. Use the configuration files and entry scripts that correspond to your installed release.</p><div class="td-table-scroll td-table-scroll--static"><table><thead><tr><th scope=col>File</th><th scope=col>Source and purpose</th><th scope=col>Loading behavior</th></tr></thead><tbody><tr><td><code>conf/gremlin-server.yaml</code></td><td>Shipped with the distribution; configures Gremlin Server.< [...]
</span></span></span><span class=line><span class=ln>2</span><span class=cl><span class=c>#port: 8182</span><span class=w>
</span></span></span><span class=line><span class=ln>3</span><span class=cl><span class=nt>evaluationTimeout</span><span class=p>:</span><span class=w> </span><span class=m>30000</span><span class=w>
</span></span></span><span class=line><span class=ln>4</span><span class=cl><span class=nt>channelizer</span><span class=p>:</span><span class=w> </span><span class=l>org.apache.tinkerpop.gremlin.server.channel.WsAndHttpChannelizer</span><span class=w>
@@ -9881,7 +9881,7 @@ Merging mode as needed, and when the Restore is completed, restore the graph mod
</span></span><span class=line><span class=ln>2</span><span class=cl>curl -o /dev/null -w <span class=s1>'%{http_code}\n'</span> <span class=se>\
</span></span></span><span class=line><span class=ln>3</span><span class=cl> http://localhost:8080/graphspaces/DEFAULT/graphs <span class=c1># Expect 401</span>
</span></span><span class=line><span class=ln>4</span><span class=cl>curl -o /dev/null -w <span class=s1>'%{http_code}\n'</span> -u <span class=s2>"admin:</span><span class=si>${</span><span class=nv>HUGEGRAPH_ADMIN_PASSWORD</span><span class=si>}</span><span class=s2>"</span> <span class=se>\
-</span></span></span><span class=line><span class=ln>5</span><span class=cl> http://localhost:8080/graphspaces/DEFAULT/graphs <span class=c1># Expect 200</span></span></span></code></pre></div></div></div><p>The other Server nodes listen on <code>8081</code> and <code>8082</code>; the remaining PD and Store nodes use <code>8621</code>/<code>8622</code> and <code>8521</code>/<code>8522</code>.</p><h2 id=pg-e0d85ec18e6b33c4b55ae5d9a2ea88e3--environment-variable-refere [...]
+</span></span></span><span class=line><span class=ln>5</span><span class=cl> http://localhost:8080/graphspaces/DEFAULT/graphs <span class=c1># Expect 200</span></span></span></code></pre></div></div></div><p>The other Server nodes listen on <code>8081</code> and <code>8082</code>; the remaining PD and Store nodes use <code>8621</code>/<code>8622</code> and <code>8521</code>/<code>8522</code>.</p><h2 id=pg-e0d85ec18e6b33c4b55ae5d9a2ea88e3--environment-variable-refere [...]
signing keys. Use the same key on every Server replica. When upgrading from an image that misread such a key, explicitly supply the intended
<code>HG_SERVER_AUTH_TOKEN_SECRET</code> again; retaining the old configuration also retains its misread key. If the active key changes, sign in again to
obtain new tokens. The 1.7.0 image limitation above still applies.</p><p>Older images could initialize a Unicode administrator password incorrectly when the initializer inherited the C locale. Upgrading or setting
@@ -9893,7 +9893,7 @@ request has no timeout. With the default value, a stalled final response times o
GNU timeout’s limit.
The entrypoint waits for <code>wait-partition.sh</code> before waiting for the Java launcher. If Java exits while partition polling is still waiting,
that poll can consume its full timeout before the entrypoint observes the exit. If polling succeeds, the diagnostic step can then consume
-a second full timeout before observation finishes; signal-triggered shutdown remains interruptible.</p><p><code>HG_SERVER_INIT_STORE_ENABLED</code> accepts only the case-insensitive boolean values recognized by <code>HugeConfig</code>: <code>y</code>, <code>t</code>, <code>yes</code>, <code>on</code>, <code>true</code>, <code>n</code>, <code>f</code>, <code>no</code>, <code>off</code>, <code>false</code>. Other values, including <code>0</code> and <code>1</code>, terminate the entrypoint [...]
+a second full timeout before observation finishes; signal-triggered shutdown remains interruptible.</p><p><code>HG_SERVER_INIT_STORE_ENABLED</code> and <code>HG_SERVER_DEPLOY_IN_K8S</code> accept only the case-insensitive boolean values recognized by <code>HugeConfig</code>: <code>y</code>, <code>t</code>, <code>yes</code>, <code>on</code>, <code>true</code>, <code>n</code>, <code>f</code>, <code>no</code>, <code>off</code>, <code>false</code>. Other values, including <code>0</code> and [...]
</span></span><span class=line><span class=ln>2</span><span class=cl>curl -fsS -u <span class=s2>"hg:</span><span class=si>${</span><span class=nv>HG_PD_AUTH_SECRET_KEY</span><span class=p>:?Load .env first</span><span class=si>}</span><span class=s2>"</span> http://localhost:8620/v1/stores</span></span></code></pre></div></div></div><p>PD can complete partition allocation once all three Stores report <code>"state":"Up"</code>.</p></li><li><p><strong>Connection refused</strong>: [...]
master, the PD, Store and both Server images (<code>hugegraph/hugegraph</code> and the HStore <code>hugegraph/server</code>) set <code>STDOUT_MODE=true</code> and send service logs to stdout.
For the Server, WARN and above from Hadoop, ZooKeeper, SOFA, Netty and Commons also reaches stdout; INFO from Hadoop, Netty and Commons and the audit and
diff --git a/_print/docs/quickstart/hugegraph/index.html b/_print/docs/quickstart/hugegraph/index.html
index 4ff24ed3e..7de087148 100644
--- a/_print/docs/quickstart/hugegraph/index.html
+++ b/_print/docs/quickstart/hugegraph/index.html
@@ -406,7 +406,7 @@ Omit <code>-g</code> for the default path. For rejected values, inspect <code>lo
</span></span><span class=line><span class=ln>32</span><span class=cl> <span class=s2>"numOfNormalService"</span><span class=o>:</span> <span class=mi>1</span>
</span></span><span class=line><span class=ln>33</span><span class=cl> <span class=p>},</span>
</span></span><span class=line><span class=ln>34</span><span class=cl> <span class=s2>"status"</span><span class=o>:</span> <span class=mi>0</span>
-</span></span><span class=line><span class=ln>35</span><span class=cl><span class=p>}</span></span></span></code></pre></div></div></div><h4 id=pg-e95a3dd8d4e602df35b0b6d668d7f31b--75-other-rest-endpoints>7.5 Other REST endpoints</h4><p>All paths below are relative to <code>http://<pd-host>:8620</code> and need the Basic header from section 7.1 unless noted.</p><div class="td-table-scroll td-table-scroll--static"><table><thead><tr><th scope=col>Method and path</th><th scope=col>Descri [...]
+</span></span><span class=line><span class=ln>35</span><span class=cl><span class=p>}</span></span></span></code></pre></div></div></div><h4 id=pg-e95a3dd8d4e602df35b0b6d668d7f31b--75-other-rest-endpoints>7.5 Other REST endpoints</h4><p>All paths below are relative to <code>http://<pd-host>:8620</code> and need the Basic header from section 7.1 unless noted.</p><div class="td-table-scroll td-table-scroll--static"><table><thead><tr><th scope=col>Method and path</th><th scope=col>Descri [...]
the start script rejects older runtimes; 1.7.0 is the last release supporting Java 11)</li><li>Maven version: ≥ 3.6.3 (for building from source)</li><li>Deploy HugeGraph-PD first for multi-node deployment</li></ul><h3 id=pg-798ddadd53db4fb98beb621b93f015d0--3-deployment>3 Deployment</h3><p>There are two ways to deploy the HugeGraph-Store component:</p><ul><li>Method 1: Download the tar package</li><li>Method 2: Compile from source</li></ul><h4 id=pg-798ddadd53db4fb98beb621b93f015d0--31-d [...]
</span></span><span class=line><span class=ln>2</span><span class=cl>curl -fLO --connect-timeout <span class=m>10</span> --max-time <span class=m>1800</span> https://downloads.apache.org/hugegraph/1.7.0/apache-hugegraph-incubating-1.7.0.tar.gz
</span></span><span class=line><span class=ln>3</span><span class=cl>tar zxf apache-hugegraph-incubating-1.7.0.tar.gz
diff --git a/_print/docs/quickstart/index.html b/_print/docs/quickstart/index.html
index 9db4734c7..db9b6e3ce 100644
--- a/_print/docs/quickstart/index.html
+++ b/_print/docs/quickstart/index.html
@@ -394,7 +394,7 @@ Omit <code>-g</code> for the default path. For rejected values, inspect <code>lo
</span></span><span class=line><span class=ln>32</span><span class=cl> <span class=s2>"numOfNormalService"</span><span class=o>:</span> <span class=mi>1</span>
</span></span><span class=line><span class=ln>33</span><span class=cl> <span class=p>},</span>
</span></span><span class=line><span class=ln>34</span><span class=cl> <span class=s2>"status"</span><span class=o>:</span> <span class=mi>0</span>
-</span></span><span class=line><span class=ln>35</span><span class=cl><span class=p>}</span></span></span></code></pre></div></div></div><h4 id=pg-e95a3dd8d4e602df35b0b6d668d7f31b--75-other-rest-endpoints>7.5 Other REST endpoints</h4><p>All paths below are relative to <code>http://<pd-host>:8620</code> and need the Basic header from section 7.1 unless noted.</p><div class="td-table-scroll td-table-scroll--static"><table><thead><tr><th scope=col>Method and path</th><th scope=col>Descri [...]
+</span></span><span class=line><span class=ln>35</span><span class=cl><span class=p>}</span></span></span></code></pre></div></div></div><h4 id=pg-e95a3dd8d4e602df35b0b6d668d7f31b--75-other-rest-endpoints>7.5 Other REST endpoints</h4><p>All paths below are relative to <code>http://<pd-host>:8620</code> and need the Basic header from section 7.1 unless noted.</p><div class="td-table-scroll td-table-scroll--static"><table><thead><tr><th scope=col>Method and path</th><th scope=col>Descri [...]
the start script rejects older runtimes; 1.7.0 is the last release supporting Java 11)</li><li>Maven version: ≥ 3.6.3 (for building from source)</li><li>Deploy HugeGraph-PD first for multi-node deployment</li></ul><h3 id=pg-798ddadd53db4fb98beb621b93f015d0--3-deployment>3 Deployment</h3><p>There are two ways to deploy the HugeGraph-Store component:</p><ul><li>Method 1: Download the tar package</li><li>Method 2: Compile from source</li></ul><h4 id=pg-798ddadd53db4fb98beb621b93f015d0--31-d [...]
</span></span><span class=line><span class=ln>2</span><span class=cl>curl -fLO --connect-timeout <span class=m>10</span> --max-time <span class=m>1800</span> https://downloads.apache.org/hugegraph/1.7.0/apache-hugegraph-incubating-1.7.0.tar.gz
</span></span><span class=line><span class=ln>3</span><span class=cl>tar zxf apache-hugegraph-incubating-1.7.0.tar.gz
diff --git a/build-metadata/versions.json b/build-metadata/versions.json
index 15e638e12..4520f753d 100644
--- a/build-metadata/versions.json
+++ b/build-metadata/versions.json
@@ -28,7 +28,7 @@
"nonEquivalentHreflangRemoved": 0,
"publishPath": "",
"ref": "master",
- "sha": "10f7927c49b13b0e49d03221d6d58ece708c817e",
+ "sha": "dd0693f584c63e9c0ed9ae3d201f22467a9d6873",
"urlScoping": {
"files": 316,
"historicalHomeRedirects": 0,
diff --git a/cn/_print/docs/config/index.html b/cn/_print/docs/config/index.html
index d52435e3e..cbaf247c1 100644
--- a/cn/_print/docs/config/index.html
+++ b/cn/_print/docs/config/index.html
@@ -4,7 +4,7 @@ Server 配置指南 Server 配置选项 认证与授权 HTTPS 配置 后端配
Server 配置指南 Server 配置选项 认证与授权 HTTPS 配置 后端配置 HBase 后端配置 HStore 后端配置 RocksDB 后端配置"><meta itemprop=dateModified content="2026-09-18T00:34:03+08:00"><meta itemprop=wordCount content="60"><meta itemprop=image content="https://hugegraph.apache.org/img/social/hugegraph-apache.png"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://hugegraph.apache.org/img/social/hugegraph-apache.png"><meta name=twitter:title content="HugeGraph-Server 配置"><meta name=t [...]
Server 配置指南 Server 配置选项 认证与授权 HTTPS 配置 后端配置 HBase 后端配置 HStore 后端配置 RocksDB 后端配置"><link rel=preload href=/scss/main.min.368f17d8dfe88c22ed1c46abfd8981c273eded2a3b17431e36754a3d9c842a15.css as=style integrity="sha256-No8X2N/ojCLtHEar/YmBwnPt7So7F0MeNnVKPZyEKhU=" crossorigin=anonymous><link href=/scss/fontawesome.min.d1b0898e80994c0e0be2e673debfd8c2e5eb8c0b96d55c483e1be19cb01e5d10.css rel=stylesheet integrity="sha256-0bCJjoCZTA4L4uZz3r/YwuXrjAuW1VxIPhvhnLAeXRA=" crossorigin=anonymous><link [...]
<button type=button class="btn btn-link p-0 align-baseline" data-td-action=print>点击此处打印</button>.</p><p><a href=/cn/docs/config/>返回本页常规视图</a>.</p></div><h1 class=title>HugeGraph-Server 配置</h1><ul><li>1: <a href=#pg-af7e8f1dc385b255c4f38b3cbafe224a>Server 启动指南</a></li><li>2: <a href=#pg-6bfbb2db4e1f281942d741cef305e724>Server 完整配置手册</a></li><li>3: <a href=#pg-7d189549d4201521c83e0d93a2474a2d>HugeGraph 内置用户权限与扩展权限配置及使用</a></li><li>4: <a href=#pg-7e400260398a18d0be72b1fe5a73f419>配置 HugeGrap [...]
-本页的默认文件行为按固定 Server 主线 <code>2f827d6</code> 核对;实际使用的发布包应以其自身版本对应的配置文件和入口脚本为准。</p><div class="td-table-scroll td-table-scroll--static"><table><thead><tr><th scope=col>文件</th><th scope=col>来源和用途</th><th scope=col>装载行为</th></tr></thead><tbody><tr><td><code>conf/gremlin-server.yaml</code></td><td>随发行包提供;配置 Gremlin Server。</td><td><code>start-hugegraph.sh</code> 将它作为 Server 启动参数传入。</td></tr><tr><td><code>conf/rest-server.properties</code></td><td>按固定 Server 主线构建时随发行包提供;配置 REST Server、PD、认证等。< [...]
+本页的默认文件行为按固定 Server 主线 <code>2f827d6</code> 核对;实际使用的发布包应以其自身版本对应的配置文件和入口脚本为准。</p><div class="td-table-scroll td-table-scroll--static"><table><thead><tr><th scope=col>文件</th><th scope=col>来源和用途</th><th scope=col>装载行为</th></tr></thead><tbody><tr><td><code>conf/gremlin-server.yaml</code></td><td>随发行包提供;配置 Gremlin Server。</td><td><code>start-hugegraph.sh</code> 将它作为 Server 启动参数传入。</td></tr><tr><td><code>conf/rest-server.properties</code></td><td>按固定 Server 主线构建时随发行包提供;配置 REST Server、PD、认证等。< [...]
</span></span></span><span class=line><span class=ln>2</span><span class=cl><span class=c>#port: 8182</span><span class=w>
</span></span></span><span class=line><span class=ln>3</span><span class=cl><span class=nt>evaluationTimeout</span><span class=p>:</span><span class=w> </span><span class=m>30000</span><span class=w>
</span></span></span><span class=line><span class=ln>4</span><span class=cl><span class=nt>channelizer</span><span class=p>:</span><span class=w> </span><span class=l>org.apache.tinkerpop.gremlin.server.channel.WsAndHttpChannelizer</span><span class=w>
diff --git a/cn/_print/docs/guides/index.html b/cn/_print/docs/guides/index.html
index 4b56e97eb..07121a58a 100644
--- a/cn/_print/docs/guides/index.html
+++ b/cn/_print/docs/guides/index.html
@@ -540,14 +540,14 @@ RDF是W3C标准,而Property Graph是工业标准,受到广大图数据库厂
</span></span><span class=line><span class=ln>2</span><span class=cl>curl -o /dev/null -w <span class=s1>'%{http_code}\n'</span> <span class=se>\
</span></span></span><span class=line><span class=ln>3</span><span class=cl> http://localhost:8080/graphspaces/DEFAULT/graphs <span class=c1># 期望 401</span>
</span></span><span class=line><span class=ln>4</span><span class=cl>curl -o /dev/null -w <span class=s1>'%{http_code}\n'</span> -u <span class=s2>"admin:</span><span class=si>${</span><span class=nv>HUGEGRAPH_ADMIN_PASSWORD</span><span class=si>}</span><span class=s2>"</span> <span class=se>\
-</span></span></span><span class=line><span class=ln>5</span><span class=cl> http://localhost:8080/graphspaces/DEFAULT/graphs <span class=c1># 期望 200</span></span></span></code></pre></div></div></div><p>另外两个 Server 分别在 <code>8081</code> 和 <code>8082</code> 上提供服务,其余 PD 和 Store 节点分别在 <code>8621</code>/<code>8622</code> 和 <code>8521</code>/<code>8522</code>。</p><h2 id=pg-e0d85ec18e6b33c4b55ae5d9a2ea88e3--环境变量参考>环境变量参考</h2><p>以下 PD、Store、Server 和 Compose 变量表描述当前主线镜像入口及 [...]
+</span></span></span><span class=line><span class=ln>5</span><span class=cl> http://localhost:8080/graphspaces/DEFAULT/graphs <span class=c1># 期望 200</span></span></span></code></pre></div></div></div><p>另外两个 Server 分别在 <code>8081</code> 和 <code>8082</code> 上提供服务,其余 PD 和 Store 节点分别在 <code>8621</code>/<code>8622</code> 和 <code>8521</code>/<code>8522</code>。</p><h2 id=pg-e0d85ec18e6b33c4b55ae5d9a2ea88e3--环境变量参考>环境变量参考</h2><p>以下 PD、Store、Server 和 Compose 变量表描述当前主线镜像入口及 [...]
如果旧镜像曾错误读取这类密钥,升级时应重新显式提供原本想使用的 <code>HG_SERVER_AUTH_TOKEN_SECRET</code>;仅复用旧配置仍会保留错误读取后的密钥。
若实际生效的密钥改变,须重新登录获取 token。上文所述 1.7.0 镜像限制仍适用。</p><p>旧镜像在初始化程序继承 C locale 时,可能错误初始化 Unicode 管理员密码。升级或再次设置 <code>PASSWORD</code> 不会修复已有账号存储的密码,
须由仍可登录的管理员通过<a href=/cn/docs/clients/restful-api/auth/>用户 API</a>修改。若已无可用管理员身份,本修复不提供自动恢复;应保留现有数据,安排账号恢复后再升级。</p><blockquote><p><strong>已弃用的别名</strong>:<code>BACKEND</code> → <code>HG_SERVER_BACKEND</code>、<code>PD_PEERS</code> → <code>HG_SERVER_PD_PEERS</code></p></blockquote><p><code>wait-storage.sh</code> 最多等待 300 秒直到出现状态为 <code>Up</code> 的 Store。该时长写死在脚本中,无法通过环境变量调整。</p><p>在当前 master Server 构建中,HStore 启动时,分区轮询和最终
<code>/v1/partitions</code> 诊断分别使用独立的 <code>WAIT_PARTITION_TIMEOUT_S</code> 预算。旧构建仅限制轮询时间,最终诊断请求没有超时。
使用默认配置时,最终响应停滞会在 120 秒后超时;设为 <code>0</code> 会禁用 GNU timeout 的时限。
入口脚本在等待 Java 进程前会先等待 <code>wait-partition.sh</code>。若 Java 进程在分区轮询阶段提前退出,轮询仍可能消耗完整超时预算后入口脚本才感知到退出;
-若轮询成功,后续的最终诊断也可能再次消耗完整的超时预算。信号触发的关闭仍可正常中断检查。</p><p><code>HG_SERVER_INIT_STORE_ENABLED</code> 只接受 <code>HugeConfig</code> 能识别的写法(忽略大小写):<code>y</code>、<code>t</code>、<code>yes</code>、<code>on</code>、<code>true</code>、<code>n</code>、<code>f</code>、<code>no</code>、<code>off</code>、<code>false</code>。其他取值(包括 <code>0</code> 和 <code>1</code>)都会让入口脚本终止。</p><p>入口脚本在初始化成功后写入 <code>docker/init_complete</code>,后续启动会跳过重新初始化,但仍会再执行一次 <code>bin/init-store.sh</code>,以便关闭状态下每次启动都重新校验配置。</p><h3 id=pg-e0d [...]
+若轮询成功,后续的最终诊断也可能再次消耗完整的超时预算。信号触发的关闭仍可正常中断检查。</p><p><code>HG_SERVER_INIT_STORE_ENABLED</code> 和 <code>HG_SERVER_DEPLOY_IN_K8S</code> 只接受 <code>HugeConfig</code> 能识别的写法(忽略大小写):<code>y</code>、<code>t</code>、<code>yes</code>、<code>on</code>、<code>true</code>、<code>n</code>、<code>f</code>、<code>no</code>、<code>off</code>、<code>false</code>。其他取值(包括 <code>0</code> 和 <code>1</code>)都会让入口脚本终止。</p><p>入口脚本在初始化成功后写入 <code>docker/init_complete</code>,后续启动会跳过重新初始化,但仍会再执行一次 <code>bin/init-store.sh</cod [...]
</span></span><span class=line><span class=ln>2</span><span class=cl>curl -fsS -u <span class=s2>"hg:</span><span class=si>${</span><span class=nv>HG_PD_AUTH_SECRET_KEY</span><span class=p>:?请先载入 .env</span><span class=si>}</span><span class=s2>"</span> http://localhost:8620/v1/stores</span></span></code></pre></div></div></div><p>3 个 Store 都显示 <code>"state":"Up"</code> 后,PD 才能为集群完成分区分配。</p></li><li><p><strong>连接被拒</strong>:确保 <code>HG_*</code> 环境变量使用容器主机名(<code>pd0</code>、<code> [...]
<code>hugegraph/server</code>)都设置了 <code>STDOUT_MODE=true</code>,服务日志会输出到容器 stdout。对 Server 而言,Hadoop、ZooKeeper、SOFA、Netty 和 Commons 的 WARN 及以上日志也会输出到 stdout;Hadoop、Netty 和 Commons 的
INFO 日志以及审计日志、慢查询日志仍只写入文件,ZooKeeper 和 SOFA 不输出 WARN 以下的日志。<code>/hugegraph-server/logs</code> 中包含 <code>hugegraph-server.log</code>、JVM
diff --git a/cn/_print/docs/index.html b/cn/_print/docs/index.html
index d877ac409..2edb66a52 100644
--- a/cn/_print/docs/index.html
+++ b/cn/_print/docs/index.html
@@ -389,7 +389,7 @@ chart 和这些环境变量不会自动创建图空间;同一个 Server Deploy
</span></span><span class=line><span class=ln>32</span><span class=cl> <span class=s2>"numOfNormalService"</span><span class=o>:</span> <span class=mi>1</span>
</span></span><span class=line><span class=ln>33</span><span class=cl> <span class=p>},</span>
</span></span><span class=line><span class=ln>34</span><span class=cl> <span class=s2>"status"</span><span class=o>:</span> <span class=mi>0</span>
-</span></span><span class=line><span class=ln>35</span><span class=cl><span class=p>}</span></span></span></code></pre></div></div></div><h4 id=pg-e95a3dd8d4e602df35b0b6d668d7f31b--75-其他-rest-接口>7.5 其他 REST 接口</h4><p>下表中的路径均相对于 <code>http://<pd-host>:8620</code>,除注明外都需要 7.1 中的 Basic 认证头。</p><div class="td-table-scroll td-table-scroll--static"><table><thead><tr><th scope=col>方法与路径</th><th scope=col>描述</th></tr></thead><tbody><tr><td><code>GET /</code></td><td>集群简要统计:leader、状态、成员数、Store [...]
+</span></span><span class=line><span class=ln>35</span><span class=cl><span class=p>}</span></span></span></code></pre></div></div></div><h4 id=pg-e95a3dd8d4e602df35b0b6d668d7f31b--75-其他-rest-接口>7.5 其他 REST 接口</h4><p>下表中的路径均相对于 <code>http://<pd-host>:8620</code>,除注明外都需要 7.1 中的 Basic 认证头。</p><div class="td-table-scroll td-table-scroll--static"><table><thead><tr><th scope=col>方法与路径</th><th scope=col>描述</th></tr></thead><tbody><tr><td><code>GET /</code></td><td>集群简要统计:leader、状态、成员数、Store [...]
</span></span><span class=line><span class=ln>2</span><span class=cl>curl -fLO --connect-timeout <span class=m>10</span> --max-time <span class=m>1800</span> https://downloads.apache.org/hugegraph/1.7.0/apache-hugegraph-incubating-1.7.0.tar.gz
</span></span><span class=line><span class=ln>3</span><span class=cl>tar zxf apache-hugegraph-incubating-1.7.0.tar.gz
</span></span><span class=line><span class=ln>4</span><span class=cl><span class=nb>cd</span> apache-hugegraph-incubating-1.7.0/apache-hugegraph-store-incubating-1.7.0</span></span></code></pre></div></div></div><h4 id=pg-798ddadd53db4fb98beb621b93f015d0--32-源码编译>3.2 源码编译</h4><div class="td-code td-code--untitled" id=td-code-2dbc57fe-fence-1 data-td-code data-td-code-auto-id data-td-language=bash data-td-line-count=10><div class=td-code__viewport id=td-code-2dbc57fe-fence-1-viewport data [...]
@@ -3469,7 +3469,7 @@ HTTP 4xx/5xx 仍可能返回 <code>err == nil</code>,例如创建顶点时指
</span></span></span><span class=line><span class=ln>12</span><span class=cl><span class=w> </span><span class=nx>log</span><span class=p>.</span><span class=nf>Fatalf</span><span class=p>(</span><span class=s>"Gremlin returned status %d: %s"</span><span class=p>,</span><span class=w> </span><span class=nx>resp</span><span class=p>.</span><span class=nx>Data</span><span class=p>.</span><span class=nx>Status</span><span class=p>.</span><span class=nx>Code</span><span class=p>,</sp [...]
</span></span></span><span class=line><span class=ln>13</span><span class=cl><span class=p>}</span><span class=w>
</span></span></span><span class=line><span class=ln>14</span><span class=cl><span class=nx>fmt</span><span class=p>.</span><span class=nf>Println</span><span class=p>(</span><span class=nx>resp</span><span class=p>.</span><span class=nx>Data</span><span class=p>.</span><span class=nx>Result</span><span class=p>.</span><span class=nx>Data</span><span class=p>)</span></span></span></code></pre></div></div></div><blockquote><p><code>Vertex</code> 相关操作的入参是 <code>internal/model</code> 包中的 <c [...]
-本页的默认文件行为按固定 Server 主线 <code>2f827d6</code> 核对;实际使用的发布包应以其自身版本对应的配置文件和入口脚本为准。</p><div class="td-table-scroll td-table-scroll--static"><table><thead><tr><th scope=col>文件</th><th scope=col>来源和用途</th><th scope=col>装载行为</th></tr></thead><tbody><tr><td><code>conf/gremlin-server.yaml</code></td><td>随发行包提供;配置 Gremlin Server。</td><td><code>start-hugegraph.sh</code> 将它作为 Server 启动参数传入。</td></tr><tr><td><code>conf/rest-server.properties</code></td><td>按固定 Server 主线构建时随发行包提供;配置 REST Server、PD、认证等。< [...]
+本页的默认文件行为按固定 Server 主线 <code>2f827d6</code> 核对;实际使用的发布包应以其自身版本对应的配置文件和入口脚本为准。</p><div class="td-table-scroll td-table-scroll--static"><table><thead><tr><th scope=col>文件</th><th scope=col>来源和用途</th><th scope=col>装载行为</th></tr></thead><tbody><tr><td><code>conf/gremlin-server.yaml</code></td><td>随发行包提供;配置 Gremlin Server。</td><td><code>start-hugegraph.sh</code> 将它作为 Server 启动参数传入。</td></tr><tr><td><code>conf/rest-server.properties</code></td><td>按固定 Server 主线构建时随发行包提供;配置 REST Server、PD、认证等。< [...]
</span></span></span><span class=line><span class=ln>2</span><span class=cl><span class=c>#port: 8182</span><span class=w>
</span></span></span><span class=line><span class=ln>3</span><span class=cl><span class=nt>evaluationTimeout</span><span class=p>:</span><span class=w> </span><span class=m>30000</span><span class=w>
</span></span></span><span class=line><span class=ln>4</span><span class=cl><span class=nt>channelizer</span><span class=p>:</span><span class=w> </span><span class=l>org.apache.tinkerpop.gremlin.server.channel.WsAndHttpChannelizer</span><span class=w>
@@ -9670,14 +9670,14 @@ RDF是W3C标准,而Property Graph是工业标准,受到广大图数据库厂
</span></span><span class=line><span class=ln>2</span><span class=cl>curl -o /dev/null -w <span class=s1>'%{http_code}\n'</span> <span class=se>\
</span></span></span><span class=line><span class=ln>3</span><span class=cl> http://localhost:8080/graphspaces/DEFAULT/graphs <span class=c1># 期望 401</span>
</span></span><span class=line><span class=ln>4</span><span class=cl>curl -o /dev/null -w <span class=s1>'%{http_code}\n'</span> -u <span class=s2>"admin:</span><span class=si>${</span><span class=nv>HUGEGRAPH_ADMIN_PASSWORD</span><span class=si>}</span><span class=s2>"</span> <span class=se>\
-</span></span></span><span class=line><span class=ln>5</span><span class=cl> http://localhost:8080/graphspaces/DEFAULT/graphs <span class=c1># 期望 200</span></span></span></code></pre></div></div></div><p>另外两个 Server 分别在 <code>8081</code> 和 <code>8082</code> 上提供服务,其余 PD 和 Store 节点分别在 <code>8621</code>/<code>8622</code> 和 <code>8521</code>/<code>8522</code>。</p><h2 id=pg-e0d85ec18e6b33c4b55ae5d9a2ea88e3--环境变量参考>环境变量参考</h2><p>以下 PD、Store、Server 和 Compose 变量表描述当前主线镜像入口及 [...]
+</span></span></span><span class=line><span class=ln>5</span><span class=cl> http://localhost:8080/graphspaces/DEFAULT/graphs <span class=c1># 期望 200</span></span></span></code></pre></div></div></div><p>另外两个 Server 分别在 <code>8081</code> 和 <code>8082</code> 上提供服务,其余 PD 和 Store 节点分别在 <code>8621</code>/<code>8622</code> 和 <code>8521</code>/<code>8522</code>。</p><h2 id=pg-e0d85ec18e6b33c4b55ae5d9a2ea88e3--环境变量参考>环境变量参考</h2><p>以下 PD、Store、Server 和 Compose 变量表描述当前主线镜像入口及 [...]
如果旧镜像曾错误读取这类密钥,升级时应重新显式提供原本想使用的 <code>HG_SERVER_AUTH_TOKEN_SECRET</code>;仅复用旧配置仍会保留错误读取后的密钥。
若实际生效的密钥改变,须重新登录获取 token。上文所述 1.7.0 镜像限制仍适用。</p><p>旧镜像在初始化程序继承 C locale 时,可能错误初始化 Unicode 管理员密码。升级或再次设置 <code>PASSWORD</code> 不会修复已有账号存储的密码,
须由仍可登录的管理员通过<a href=/cn/docs/clients/restful-api/auth/>用户 API</a>修改。若已无可用管理员身份,本修复不提供自动恢复;应保留现有数据,安排账号恢复后再升级。</p><blockquote><p><strong>已弃用的别名</strong>:<code>BACKEND</code> → <code>HG_SERVER_BACKEND</code>、<code>PD_PEERS</code> → <code>HG_SERVER_PD_PEERS</code></p></blockquote><p><code>wait-storage.sh</code> 最多等待 300 秒直到出现状态为 <code>Up</code> 的 Store。该时长写死在脚本中,无法通过环境变量调整。</p><p>在当前 master Server 构建中,HStore 启动时,分区轮询和最终
<code>/v1/partitions</code> 诊断分别使用独立的 <code>WAIT_PARTITION_TIMEOUT_S</code> 预算。旧构建仅限制轮询时间,最终诊断请求没有超时。
使用默认配置时,最终响应停滞会在 120 秒后超时;设为 <code>0</code> 会禁用 GNU timeout 的时限。
入口脚本在等待 Java 进程前会先等待 <code>wait-partition.sh</code>。若 Java 进程在分区轮询阶段提前退出,轮询仍可能消耗完整超时预算后入口脚本才感知到退出;
-若轮询成功,后续的最终诊断也可能再次消耗完整的超时预算。信号触发的关闭仍可正常中断检查。</p><p><code>HG_SERVER_INIT_STORE_ENABLED</code> 只接受 <code>HugeConfig</code> 能识别的写法(忽略大小写):<code>y</code>、<code>t</code>、<code>yes</code>、<code>on</code>、<code>true</code>、<code>n</code>、<code>f</code>、<code>no</code>、<code>off</code>、<code>false</code>。其他取值(包括 <code>0</code> 和 <code>1</code>)都会让入口脚本终止。</p><p>入口脚本在初始化成功后写入 <code>docker/init_complete</code>,后续启动会跳过重新初始化,但仍会再执行一次 <code>bin/init-store.sh</code>,以便关闭状态下每次启动都重新校验配置。</p><h3 id=pg-e0d [...]
+若轮询成功,后续的最终诊断也可能再次消耗完整的超时预算。信号触发的关闭仍可正常中断检查。</p><p><code>HG_SERVER_INIT_STORE_ENABLED</code> 和 <code>HG_SERVER_DEPLOY_IN_K8S</code> 只接受 <code>HugeConfig</code> 能识别的写法(忽略大小写):<code>y</code>、<code>t</code>、<code>yes</code>、<code>on</code>、<code>true</code>、<code>n</code>、<code>f</code>、<code>no</code>、<code>off</code>、<code>false</code>。其他取值(包括 <code>0</code> 和 <code>1</code>)都会让入口脚本终止。</p><p>入口脚本在初始化成功后写入 <code>docker/init_complete</code>,后续启动会跳过重新初始化,但仍会再执行一次 <code>bin/init-store.sh</cod [...]
</span></span><span class=line><span class=ln>2</span><span class=cl>curl -fsS -u <span class=s2>"hg:</span><span class=si>${</span><span class=nv>HG_PD_AUTH_SECRET_KEY</span><span class=p>:?请先载入 .env</span><span class=si>}</span><span class=s2>"</span> http://localhost:8620/v1/stores</span></span></code></pre></div></div></div><p>3 个 Store 都显示 <code>"state":"Up"</code> 后,PD 才能为集群完成分区分配。</p></li><li><p><strong>连接被拒</strong>:确保 <code>HG_*</code> 环境变量使用容器主机名(<code>pd0</code>、<code> [...]
<code>hugegraph/server</code>)都设置了 <code>STDOUT_MODE=true</code>,服务日志会输出到容器 stdout。对 Server 而言,Hadoop、ZooKeeper、SOFA、Netty 和 Commons 的 WARN 及以上日志也会输出到 stdout;Hadoop、Netty 和 Commons 的
INFO 日志以及审计日志、慢查询日志仍只写入文件,ZooKeeper 和 SOFA 不输出 WARN 以下的日志。<code>/hugegraph-server/logs</code> 中包含 <code>hugegraph-server.log</code>、JVM
diff --git a/cn/_print/docs/quickstart/hugegraph/index.html b/cn/_print/docs/quickstart/hugegraph/index.html
index f8631138e..893442159 100644
--- a/cn/_print/docs/quickstart/hugegraph/index.html
+++ b/cn/_print/docs/quickstart/hugegraph/index.html
@@ -374,7 +374,7 @@ chart 和这些环境变量不会自动创建图空间;同一个 Server Deploy
</span></span><span class=line><span class=ln>32</span><span class=cl> <span class=s2>"numOfNormalService"</span><span class=o>:</span> <span class=mi>1</span>
</span></span><span class=line><span class=ln>33</span><span class=cl> <span class=p>},</span>
</span></span><span class=line><span class=ln>34</span><span class=cl> <span class=s2>"status"</span><span class=o>:</span> <span class=mi>0</span>
-</span></span><span class=line><span class=ln>35</span><span class=cl><span class=p>}</span></span></span></code></pre></div></div></div><h4 id=pg-e95a3dd8d4e602df35b0b6d668d7f31b--75-其他-rest-接口>7.5 其他 REST 接口</h4><p>下表中的路径均相对于 <code>http://<pd-host>:8620</code>,除注明外都需要 7.1 中的 Basic 认证头。</p><div class="td-table-scroll td-table-scroll--static"><table><thead><tr><th scope=col>方法与路径</th><th scope=col>描述</th></tr></thead><tbody><tr><td><code>GET /</code></td><td>集群简要统计:leader、状态、成员数、Store [...]
+</span></span><span class=line><span class=ln>35</span><span class=cl><span class=p>}</span></span></span></code></pre></div></div></div><h4 id=pg-e95a3dd8d4e602df35b0b6d668d7f31b--75-其他-rest-接口>7.5 其他 REST 接口</h4><p>下表中的路径均相对于 <code>http://<pd-host>:8620</code>,除注明外都需要 7.1 中的 Basic 认证头。</p><div class="td-table-scroll td-table-scroll--static"><table><thead><tr><th scope=col>方法与路径</th><th scope=col>描述</th></tr></thead><tbody><tr><td><code>GET /</code></td><td>集群简要统计:leader、状态、成员数、Store [...]
</span></span><span class=line><span class=ln>2</span><span class=cl>curl -fLO --connect-timeout <span class=m>10</span> --max-time <span class=m>1800</span> https://downloads.apache.org/hugegraph/1.7.0/apache-hugegraph-incubating-1.7.0.tar.gz
</span></span><span class=line><span class=ln>3</span><span class=cl>tar zxf apache-hugegraph-incubating-1.7.0.tar.gz
</span></span><span class=line><span class=ln>4</span><span class=cl><span class=nb>cd</span> apache-hugegraph-incubating-1.7.0/apache-hugegraph-store-incubating-1.7.0</span></span></code></pre></div></div></div><h4 id=pg-798ddadd53db4fb98beb621b93f015d0--32-源码编译>3.2 源码编译</h4><div class="td-code td-code--untitled" id=td-code-2dbc57fe-fence-1 data-td-code data-td-code-auto-id data-td-language=bash data-td-line-count=10><div class=td-code__viewport id=td-code-2dbc57fe-fence-1-viewport data [...]
diff --git a/cn/_print/docs/quickstart/index.html b/cn/_print/docs/quickstart/index.html
index 3ee80a545..7faa97e2b 100644
--- a/cn/_print/docs/quickstart/index.html
+++ b/cn/_print/docs/quickstart/index.html
@@ -366,7 +366,7 @@ chart 和这些环境变量不会自动创建图空间;同一个 Server Deploy
</span></span><span class=line><span class=ln>32</span><span class=cl> <span class=s2>"numOfNormalService"</span><span class=o>:</span> <span class=mi>1</span>
</span></span><span class=line><span class=ln>33</span><span class=cl> <span class=p>},</span>
</span></span><span class=line><span class=ln>34</span><span class=cl> <span class=s2>"status"</span><span class=o>:</span> <span class=mi>0</span>
-</span></span><span class=line><span class=ln>35</span><span class=cl><span class=p>}</span></span></span></code></pre></div></div></div><h4 id=pg-e95a3dd8d4e602df35b0b6d668d7f31b--75-其他-rest-接口>7.5 其他 REST 接口</h4><p>下表中的路径均相对于 <code>http://<pd-host>:8620</code>,除注明外都需要 7.1 中的 Basic 认证头。</p><div class="td-table-scroll td-table-scroll--static"><table><thead><tr><th scope=col>方法与路径</th><th scope=col>描述</th></tr></thead><tbody><tr><td><code>GET /</code></td><td>集群简要统计:leader、状态、成员数、Store [...]
+</span></span><span class=line><span class=ln>35</span><span class=cl><span class=p>}</span></span></span></code></pre></div></div></div><h4 id=pg-e95a3dd8d4e602df35b0b6d668d7f31b--75-其他-rest-接口>7.5 其他 REST 接口</h4><p>下表中的路径均相对于 <code>http://<pd-host>:8620</code>,除注明外都需要 7.1 中的 Basic 认证头。</p><div class="td-table-scroll td-table-scroll--static"><table><thead><tr><th scope=col>方法与路径</th><th scope=col>描述</th></tr></thead><tbody><tr><td><code>GET /</code></td><td>集群简要统计:leader、状态、成员数、Store [...]
</span></span><span class=line><span class=ln>2</span><span class=cl>curl -fLO --connect-timeout <span class=m>10</span> --max-time <span class=m>1800</span> https://downloads.apache.org/hugegraph/1.7.0/apache-hugegraph-incubating-1.7.0.tar.gz
</span></span><span class=line><span class=ln>3</span><span class=cl>tar zxf apache-hugegraph-incubating-1.7.0.tar.gz
</span></span><span class=line><span class=ln>4</span><span class=cl><span class=nb>cd</span> apache-hugegraph-incubating-1.7.0/apache-hugegraph-store-incubating-1.7.0</span></span></code></pre></div></div></div><h4 id=pg-798ddadd53db4fb98beb621b93f015d0--32-源码编译>3.2 源码编译</h4><div class="td-code td-code--untitled" id=td-code-2dbc57fe-fence-1 data-td-code data-td-code-auto-id data-td-language=bash data-td-line-count=10><div class=td-code__viewport id=td-code-2dbc57fe-fence-1-viewport data [...]
diff --git a/cn/docs/config/config-guide/index.html b/cn/docs/config/config-guide/index.html
index 7efc55021..2c6fbff40 100644
--- a/cn/docs/config/config-guide/index.html
+++ b/cn/docs/config/config-guide/index.html
@@ -1,4 +1,4 @@
-<!doctype html><html itemscope itemtype=http://schema.org/WebPage dir=ltr lang=zh-CN data-td-typography=technical data-td-preset=slate data-td-site-preset=slate data-td-theme-init><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=color-scheme content="light dark"><meta name=theme-color content="#f1f4f8" data-td-canvas-light=#f1f4f8 data-td-canvas-dark=#0b1119><style>html{background:#f1f4f8;color:#16222e}html[data-bs-the [...]
+<!doctype html><html itemscope itemtype=http://schema.org/WebPage dir=ltr lang=zh-CN data-td-typography=technical data-td-preset=slate data-td-site-preset=slate data-td-theme-init><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=color-scheme content="light dark"><meta name=theme-color content="#f1f4f8" data-td-canvas-light=#f1f4f8 data-td-canvas-dark=#0b1119><style>html{background:#f1f4f8;color:#16222e}html[data-bs-the [...]
<span class=td-nav-title>HugeGraph</span></a><div class="td-nav-links td-nav-menu-zone"><div class=td-nav-menu data-td-navbar-menu><a class="nav-link td-nav-menu__parent-link active" href=https://hugegraph.apache.org/cn/docs/ data-td-navbar-level=0 data-td-navbar-kind=link data-td-navbar-route aria-label=文档 data-td-navbar-region=desktop data-td-navbar-label=文档 data-td-navbar-external=false aria-controls=td-navbar-desktop-docs-0 aria-expanded=false><i class="fa-solid fa-book" aria-hidden= [...]
<span class=td-navbar-entry__label>文档</span></a><div class=td-nav-menu__panel id=td-navbar-desktop-docs-0 data-td-navbar-panel hidden><a class=td-nav-menu__item-link href=https://hugegraph.apache.org/cn/docs/quickstart/ data-td-navbar-level=1 data-td-navbar-kind=link aria-label=开始 data-td-navbar-region=desktop data-td-navbar-label=开始 data-td-navbar-external=false><i class="fa-solid fa-rocket" aria-hidden=true></i>
<span class=td-navbar-entry__label>开始</span></a>
@@ -97,7 +97,7 @@
</button>
<button type=button class=td-page-actions__toggle data-td-page-actions-toggle aria-expanded=false aria-controls=td-page-actions-menu title=操作 aria-label=操作><i class="td-shell-icon td-shell-icon--chevron-down fa-solid fa-angle-down" aria-hidden=true></i></button></div><ul class=td-page-actions__menu id=td-page-actions-menu data-td-page-actions-menu aria-label=操作><li><button type=button class=td-page-actions__item data-td-action=copy_markdown data-td-url=https://hugegraph.apache.org/cn/doc [...]
<i class="fa-regular fa-copy" aria-hidden=true></i><span>复制 Markdown 文本</span></button></li><li><a class=td-page-actions__item data-td-action=view_markdown href=https://hugegraph.apache.org/cn/docs/config/config-guide/index.md target=_blank rel=noopener><i class="fa-brands fa-markdown" aria-hidden=true></i><span>查阅 Markdown 源码</span></a></li><li><a class=td-page-actions__item data-td-action=view_history href=https://github.com/apache/hugegraph-doc/commits/master/content/cn/docs/config/co [...]
-本页的默认文件行为按固定 Server 主线 <code>2f827d6</code> 核对;实际使用的发布包应以其自身版本对应的配置文件和入口脚本为准。</p><div class=td-table-scroll tabindex=0 role=region aria-label=可横向滚动的表格><table><thead><tr><th scope=col>文件</th><th scope=col>来源和用途</th><th scope=col>装载行为</th></tr></thead><tbody><tr><td><code>conf/gremlin-server.yaml</code></td><td>随发行包提供;配置 Gremlin Server。</td><td><code>start-hugegraph.sh</code> 将它作为 Server 启动参数传入。</td></tr><tr><td><code>conf/rest-server.properties</code></td><td>按固定 Server 主线构建时随发行包提供;配置 RES [...]
+本页的默认文件行为按固定 Server 主线 <code>2f827d6</code> 核对;实际使用的发布包应以其自身版本对应的配置文件和入口脚本为准。</p><div class=td-table-scroll tabindex=0 role=region aria-label=可横向滚动的表格><table><thead><tr><th scope=col>文件</th><th scope=col>来源和用途</th><th scope=col>装载行为</th></tr></thead><tbody><tr><td><code>conf/gremlin-server.yaml</code></td><td>随发行包提供;配置 Gremlin Server。</td><td><code>start-hugegraph.sh</code> 将它作为 Server 启动参数传入。</td></tr><tr><td><code>conf/rest-server.properties</code></td><td>按固定 Server 主线构建时随发行包提供;配置 RES [...]
<i class="fa-regular fa-copy" aria-hidden=true></i></button></div><div class=td-code__viewport id=td-code-fbaa292b-fence-0-viewport data-td-code-viewport><div class=highlight><pre tabindex=0 class=chroma><code class=language-yaml data-lang=yaml><span class=line><span class=ln>1</span><span class=cl><span class=c>#host: 127.0.0.1</span><span class=w>
</span></span></span><span class=line><span class=ln>2</span><span class=cl><span class=c>#port: 8182</span><span class=w>
</span></span></span><span class=line><span class=ln>3</span><span class=cl><span class=nt>evaluationTimeout</span><span class=p>:</span><span class=w> </span><span class=m>30000</span><span class=w>
@@ -184,7 +184,7 @@
<i class="fa-regular fa-copy" aria-hidden=true></i></button></div><div class=td-code__viewport id=td-code-fbaa292b-fence-11-viewport data-td-code-viewport><div class=highlight><pre tabindex=0 class=chroma><code class=language-bash data-lang=bash><span class=line><span class=ln>1</span><span class=cl>curl http://127.0.0.1:8080/graphspaces/DEFAULT/graphs/hugegraph_rocksdb
</span></span><span class=line><span class=ln>2</span><span class=cl>
</span></span><span class=line><span class=ln>3</span><span class=cl><span class=o>{</span><span class=s2>"name"</span>:<span class=s2>"hugegraph_rocksdb"</span>,<span class=s2>"backend"</span>:<span class=s2>"rocksdb"</span><span class=o>}</span></span></span></code></pre></div></div><span class=visually-hidden role=status aria-live=polite data-td-code-status></span></div><template data-hg-authored-content=end></template><div class=td-page-end><section cl [...]
-<span>最后修改 2026-10-15 · <a data-proofer-ignore href=https://github.com/apache/hugegraph-doc/commit/0cd9a984c1d32565e45a1481d10e6ccfcbb7660b>docs: clarify graph maintenance and client routing (#519) (0cd9a984c)</a></span></div></div></section><nav class="td-pager d-print-none" data-td-pager aria-label="上一页 / 下一页"><a class="td-pager__link td-pager__link--prev" href=https://hugegraph.apache.org/cn/docs/config/ aria-label="上一页 - HugeGraph-Server 配置" title="Server 配置" data-td-pager-prev> [...]
+<span>最后修改 2026-10-17 · <a data-proofer-ignore href=https://github.com/apache/hugegraph-doc/commit/3498150c7ee2b8f27c36d33d0d871795ee08faa8>docs: add HG_SERVER_URLS_TO_PD and HG_SERVER_DEPLOY_IN_K8S (#529) (3498150c7)</a></span></div></div></section><nav class="td-pager d-print-none" data-td-pager aria-label="上一页 / 下一页"><a class="td-pager__link td-pager__link--prev" href=https://hugegraph.apache.org/cn/docs/config/ aria-label="上一页 - HugeGraph-Server 配置" title="Server 配置" data-td-pag [...]
</a><a class="td-pager__link td-pager__link--next" href=https://hugegraph.apache.org/cn/docs/config/config-option/ aria-label="下一页 - Server 完整配置手册" title="Server 完整配置手册" data-td-pager-next><span class=td-pager__title dir=auto>Server 完整配置手册</span><span class=td-pager__arrow aria-hidden=true>→</span></a></nav></div></div></article></main><aside class="td-shell-toc d-print-none" aria-label=目录><div class=td-shell-toc__panel><div class=td-shell-aside data-td-shell-aside><div class="td-shell-a [...]
<button type=button class="td-shell-tree__row td-shell-aside-group__head" data-td-shell-tree-toggle data-td-shell-aside-keep-open aria-expanded=true aria-controls=td-shell-aside-toc aria-label="收起章节: 目录" data-td-label-expand="展开章节: 目录" data-td-label-collapse="收起章节: 目录"><span class="td-shell-aside-group__icon td-shell-aside-group__icon--toc" aria-hidden=true><i class="td-shell-icon td-shell-icon--menu fa-solid fa-bars" aria-hidden=true></i></span>
<span class=td-shell-aside-group__title>目录</span>
diff --git a/cn/docs/config/config-guide/index.md b/cn/docs/config/config-guide/index.md
index 7b8c7acd5..1d60253ee 100644
--- a/cn/docs/config/config-guide/index.md
+++ b/cn/docs/config/config-guide/index.md
@@ -34,7 +34,7 @@ HugeGraphServer 内部集成了 GremlinServer 和 RestServer,而 gremlin-serve
完整的默认文件见Server 主线源码:[gremlin-server.yaml](https://github.com/apache/hugegraph/blob/master/hugegraph-server/hugegraph-dist/src/assembly/static/conf/gremlin-server.yaml)、[rest-server.properties](https://github.com/apache/hugegraph/blob/master/hugegraph-server/hugegraph-dist/src/assembly/static/conf/rest-server.properties)、[hugegraph.properties](https://github.com/apache/hugegraph/blob/master/hugegraph-server/hugegraph-dist/src/assembly/static/conf/graphs/hugegraph.properties) 和 [hstore.pro [...]
-以下 Docker 环境变量行为仅适用于从 `master` 主线构建的镜像,不会把任意环境变量名转换为配置项。该版本的入口脚本在初始化和启动前处理 `HG_SERVER_BACKEND`、`HG_SERVER_PD_PEERS`、`HG_SERVER_USE_PD`、`HG_SERVER_CLUSTER`、`HG_SERVER_REST_URL`、`HG_SERVER_MIN_FREE_MEMORY`、`HG_SERVER_AUTH_TOKEN_SECRET`、`HG_SERVER_INIT_STORE_ENABLED` 和 `PASSWORD`;历史发布镜像需按各自 tag 对应的 entrypoint 核实支持项。见 [Docker entrypoint](https://github.com/apache/hugegraph/blob/master/hugegraph-server/hugegraph-dist/docker/docker-entrypoint.sh)。
+以下 Docker 环境变量行为仅适用于从 `master` 主线构建的镜像,不会把任意环境变量名转换为配置项。该版本的入口脚本在初始化和启动前处理 `HG_SERVER_BACKEND`、`HG_SERVER_PD_PEERS`、`HG_SERVER_USE_PD`、`HG_SERVER_CLUSTER`、`HG_SERVER_REST_URL`、`HG_SERVER_URLS_TO_PD`、`HG_SERVER_DEPLOY_IN_K8S`、`HG_SERVER_MIN_FREE_MEMORY`、`HG_SERVER_AUTH_TOKEN_SECRET`、`HG_SERVER_INIT_STORE_ENABLED` 和 `PASSWORD`;历史发布镜像需按各自 tag 对应的 entrypoint 核实支持项。见 [Docker entrypoint](https://github.com/apache/hugegraph/blob/master/hugegraph-server/hugegraph-dist/docker/docker-entrypoint.sh)。
### 2 gremlin-server.yaml
diff --git a/cn/docs/config/index.xml b/cn/docs/config/index.xml
index 76dc9d574..316c0c1c5 100644
--- a/cn/docs/config/index.xml
+++ b/cn/docs/config/index.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>HugeGraph-Server 配置 on Apache HugeGraph</title><link>https://hugegraph.apache.org/cn/docs/config/</link><description>Recent content in HugeGraph-Server 配置 on Apache HugeGraph</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Thu, 15 Oct 2026 03:59:21 +0800</lastBuildDate><atom:link href="https://hugegraph.apache.org/cn/docs/conf [...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>HugeGraph-Server 配置 on Apache HugeGraph</title><link>https://hugegraph.apache.org/cn/docs/config/</link><description>Recent content in HugeGraph-Server 配置 on Apache HugeGraph</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Sat, 17 Oct 2026 15:04:24 +0530</lastBuildDate><atom:link href="https://hugegraph.apache.org/cn/docs/conf [...]
\ No newline at end of file
diff --git a/cn/docs/guides/hugegraph-docker-cluster/index.html b/cn/docs/guides/hugegraph-docker-cluster/index.html
index 78eb8e048..7b285070f 100644
--- a/cn/docs/guides/hugegraph-docker-cluster/index.html
+++ b/cn/docs/guides/hugegraph-docker-cluster/index.html
@@ -1,7 +1,7 @@
<!doctype html><html itemscope itemtype=http://schema.org/WebPage dir=ltr lang=zh-CN data-td-typography=technical data-td-preset=slate data-td-site-preset=slate data-td-theme-init><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=color-scheme content="light dark"><meta name=theme-color content="#f1f4f8" data-td-canvas-light=#f1f4f8 data-td-canvas-dark=#0b1119><style>html{background:#f1f4f8;color:#16222e}html[data-bs-the [...]
前置条件 Docker Engine 20.10+ 或 Docker Desktop 4.x+ Docker Compose v2 Mac 运行 3 节点集群时,建议分配至少 12 GB 内存(设置 → 资源 → 内存)。[其他平台根据实际情况调整] 已测试环境:Linux(原生 Docker)和 macOS(Docker Desktop with ARM M4)"><link rel=canonical href=https://hugegraph.apache.org/cn/docs/guides/hugegraph-docker-cluster/><link rel=alternate hreflang=en-US href=https://hugegraph.apache.org/docs/guides/hugegraph-docker-cluster/><link rel=alternate hreflang=zh-CN href=https://hugegraph.apache.org/cn/docs/guides/hugegraph-docker-clus [...]
-前置条件 Docker Engine 20.10+ 或 Docker Desktop 4.x+ Docker Compose v2 Mac 运行 3 节点集群时,建议分配至少 12 GB 内存(设置 → 资源 → 内存)。[其他平台根据实际情况调整] 已测试环境:Linux(原生 Docker)和 macOS(Docker Desktop with ARM M4)"><meta property="og:locale" content="zh_CN"><meta property="og:type" content="article"><meta property="article:section" content="docs"><meta property="article:modified_time" content="2026-10-16T01:46:31+08:00"><meta property="og:image" content="https://hugegraph.apache.org/img/social/hugegraph-apache.png">< [...]
-前置条件 Docker Engine 20.10+ 或 Docker Desktop 4.x+ Docker Compose v2 Mac 运行 3 节点集群时,建议分配至少 12 GB 内存(设置 → 资源 → 内存)。[其他平台根据实际情况调整] 已测试环境:Linux(原生 Docker)和 macOS(Docker Desktop with ARM M4)"><meta itemprop=dateModified content="2026-10-16T01:46:31+08:00"><meta itemprop=wordCount content="7726"><meta itemprop=image content="https://hugegraph.apache.org/img/social/hugegraph-apache.png"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://hugegraph.apach [...]
+前置条件 Docker Engine 20.10+ 或 Docker Desktop 4.x+ Docker Compose v2 Mac 运行 3 节点集群时,建议分配至少 12 GB 内存(设置 → 资源 → 内存)。[其他平台根据实际情况调整] 已测试环境:Linux(原生 Docker)和 macOS(Docker Desktop with ARM M4)"><meta property="og:locale" content="zh_CN"><meta property="og:type" content="article"><meta property="article:section" content="docs"><meta property="article:modified_time" content="2026-10-17T15:04:24+05:30"><meta property="og:image" content="https://hugegraph.apache.org/img/social/hugegraph-apache.png">< [...]
+前置条件 Docker Engine 20.10+ 或 Docker Desktop 4.x+ Docker Compose v2 Mac 运行 3 节点集群时,建议分配至少 12 GB 内存(设置 → 资源 → 内存)。[其他平台根据实际情况调整] 已测试环境:Linux(原生 Docker)和 macOS(Docker Desktop with ARM M4)"><meta itemprop=dateModified content="2026-10-17T15:04:24+05:30"><meta itemprop=wordCount content="7834"><meta itemprop=image content="https://hugegraph.apache.org/img/social/hugegraph-apache.png"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://hugegraph.apach [...]
前置条件 Docker Engine 20.10+ 或 Docker Desktop 4.x+ Docker Compose v2 Mac 运行 3 节点集群时,建议分配至少 12 GB 内存(设置 → 资源 → 内存)。[其他平台根据实际情况调整] 已测试环境:Linux(原生 Docker)和 macOS(Docker Desktop with ARM M4)"><link rel=preload href=https://hugegraph.apache.org/scss/main.min.368f17d8dfe88c22ed1c46abfd8981c273eded2a3b17431e36754a3d9c842a15.css as=style integrity="sha256-No8X2N/ojCLtHEar/YmBwnPt7So7F0MeNnVKPZyEKhU=" crossorigin=anonymous><link href=https://hugegraph.apache.org/scss/fontawesome.min.d1b0898e80994c0e [...]
<span class=td-nav-title>HugeGraph</span></a><div class="td-nav-links td-nav-menu-zone"><div class=td-nav-menu data-td-navbar-menu><a class="nav-link td-nav-menu__parent-link active" href=https://hugegraph.apache.org/cn/docs/ data-td-navbar-level=0 data-td-navbar-kind=link data-td-navbar-route aria-label=文档 data-td-navbar-region=desktop data-td-navbar-label=文档 data-td-navbar-external=false aria-controls=td-navbar-desktop-docs-0 aria-expanded=false><i class="fa-solid fa-book" aria-hidden= [...]
<span class=td-navbar-entry__label>文档</span></a><div class=td-nav-menu__panel id=td-navbar-desktop-docs-0 data-td-navbar-panel hidden><a class=td-nav-menu__item-link href=https://hugegraph.apache.org/cn/docs/quickstart/ data-td-navbar-level=1 data-td-navbar-kind=link aria-label=开始 data-td-navbar-region=desktop data-td-navbar-label=开始 data-td-navbar-external=false><i class="fa-solid fa-rocket" aria-hidden=true></i>
@@ -150,14 +150,14 @@
</span></span><span class=line><span class=ln>2</span><span class=cl>curl -o /dev/null -w <span class=s1>'%{http_code}\n'</span> <span class=se>\
</span></span></span><span class=line><span class=ln>3</span><span class=cl> http://localhost:8080/graphspaces/DEFAULT/graphs <span class=c1># 期望 401</span>
</span></span><span class=line><span class=ln>4</span><span class=cl>curl -o /dev/null -w <span class=s1>'%{http_code}\n'</span> -u <span class=s2>"admin:</span><span class=si>${</span><span class=nv>HUGEGRAPH_ADMIN_PASSWORD</span><span class=si>}</span><span class=s2>"</span> <span class=se>\
-</span></span></span><span class=line><span class=ln>5</span><span class=cl> http://localhost:8080/graphspaces/DEFAULT/graphs <span class=c1># 期望 200</span></span></span></code></pre></div></div><span class=visually-hidden role=status aria-live=polite data-td-code-status></span></div><p>另外两个 Server 分别在 <code>8081</code> 和 <code>8082</code> 上提供服务,其余 PD 和 Store 节点分别在 <code>8621</code>/<code>8622</code> 和 <code>8521</code>/<code>8522</code>。</p><h2 id=环境变量参考>环境变量参考<a c [...]
+</span></span></span><span class=line><span class=ln>5</span><span class=cl> http://localhost:8080/graphspaces/DEFAULT/graphs <span class=c1># 期望 200</span></span></span></code></pre></div></div><span class=visually-hidden role=status aria-live=polite data-td-code-status></span></div><p>另外两个 Server 分别在 <code>8081</code> 和 <code>8082</code> 上提供服务,其余 PD 和 Store 节点分别在 <code>8621</code>/<code>8622</code> 和 <code>8521</code>/<code>8522</code>。</p><h2 id=环境变量参考>环境变量参考<a c [...]
如果旧镜像曾错误读取这类密钥,升级时应重新显式提供原本想使用的 <code>HG_SERVER_AUTH_TOKEN_SECRET</code>;仅复用旧配置仍会保留错误读取后的密钥。
若实际生效的密钥改变,须重新登录获取 token。上文所述 1.7.0 镜像限制仍适用。</p><p>旧镜像在初始化程序继承 C locale 时,可能错误初始化 Unicode 管理员密码。升级或再次设置 <code>PASSWORD</code> 不会修复已有账号存储的密码,
须由仍可登录的管理员通过<a href=https://hugegraph.apache.org/cn/docs/clients/restful-api/auth/>用户 API</a>修改。若已无可用管理员身份,本修复不提供自动恢复;应保留现有数据,安排账号恢复后再升级。</p><blockquote><p><strong>已弃用的别名</strong>:<code>BACKEND</code> → <code>HG_SERVER_BACKEND</code>、<code>PD_PEERS</code> → <code>HG_SERVER_PD_PEERS</code></p></blockquote><p><code>wait-storage.sh</code> 最多等待 300 秒直到出现状态为 <code>Up</code> 的 Store。该时长写死在脚本中,无法通过环境变量调整。</p><p>在当前 master Server 构建中,HStore 启动时,分区轮询和最终
<code>/v1/partitions</code> 诊断分别使用独立的 <code>WAIT_PARTITION_TIMEOUT_S</code> 预算。旧构建仅限制轮询时间,最终诊断请求没有超时。
使用默认配置时,最终响应停滞会在 120 秒后超时;设为 <code>0</code> 会禁用 GNU timeout 的时限。
入口脚本在等待 Java 进程前会先等待 <code>wait-partition.sh</code>。若 Java 进程在分区轮询阶段提前退出,轮询仍可能消耗完整超时预算后入口脚本才感知到退出;
-若轮询成功,后续的最终诊断也可能再次消耗完整的超时预算。信号触发的关闭仍可正常中断检查。</p><p><code>HG_SERVER_INIT_STORE_ENABLED</code> 只接受 <code>HugeConfig</code> 能识别的写法(忽略大小写):<code>y</code>、<code>t</code>、<code>yes</code>、<code>on</code>、<code>true</code>、<code>n</code>、<code>f</code>、<code>no</code>、<code>off</code>、<code>false</code>。其他取值(包括 <code>0</code> 和 <code>1</code>)都会让入口脚本终止。</p><p>入口脚本在初始化成功后写入 <code>docker/init_complete</code>,后续启动会跳过重新初始化,但仍会再执行一次 <code>bin/init-store.sh</code>,以便关闭状态下每次启动都重新校验配置。</p><h3 id=compos [...]
+若轮询成功,后续的最终诊断也可能再次消耗完整的超时预算。信号触发的关闭仍可正常中断检查。</p><p><code>HG_SERVER_INIT_STORE_ENABLED</code> 和 <code>HG_SERVER_DEPLOY_IN_K8S</code> 只接受 <code>HugeConfig</code> 能识别的写法(忽略大小写):<code>y</code>、<code>t</code>、<code>yes</code>、<code>on</code>、<code>true</code>、<code>n</code>、<code>f</code>、<code>no</code>、<code>off</code>、<code>false</code>。其他取值(包括 <code>0</code> 和 <code>1</code>)都会让入口脚本终止。</p><p>入口脚本在初始化成功后写入 <code>docker/init_complete</code>,后续启动会跳过重新初始化,但仍会再执行一次 <code>bin/init-store.sh</cod [...]
<i class="fa-regular fa-copy" aria-hidden=true></i></button></div><div class=td-code__viewport id=td-code-a045eb23-fence-10-viewport data-td-code-viewport><div class=highlight><pre tabindex=0 class=chroma><code class=language-bash data-lang=bash><span class=line><span class=ln>1</span><span class=cl><span class=nb>set</span> -a<span class=p>;</span> . ./.env<span class=p>;</span> <span class=nb>set</span> +a
</span></span><span class=line><span class=ln>2</span><span class=cl>curl -fsS -u <span class=s2>"hg:</span><span class=si>${</span><span class=nv>HG_PD_AUTH_SECRET_KEY</span><span class=p>:?请先载入 .env</span><span class=si>}</span><span class=s2>"</span> http://localhost:8620/v1/stores</span></span></code></pre></div></div><span class=visually-hidden role=status aria-live=polite data-td-code-status></span></div><p>3 个 Store 都显示 <code>"state":"Up"</code> 后,PD 才能为集群完成分区分配。</p></li>< [...]
<code>hugegraph/server</code>)都设置了 <code>STDOUT_MODE=true</code>,服务日志会输出到容器 stdout。对 Server 而言,Hadoop、ZooKeeper、SOFA、Netty 和 Commons 的 WARN 及以上日志也会输出到 stdout;Hadoop、Netty 和 Commons 的
@@ -181,7 +181,7 @@ Compose 中 Server 服务的 <code>environment:</code> 里添加,自带的 Com
未响应终止请求的 Java 进程仍依靠容器终止完成最终清理。</p><p>例如,在 HugeGraph 仓库的 <code>docker/</code> 目录下,将单机 Server 的启动等待时间增加到 300 秒(Compose 文件会将该变量传入容器):</p><div class="td-code td-code--untitled" id=td-code-a045eb23-fence-11 data-td-code data-td-code-auto-id data-td-language=bash data-td-line-count=2><div class="td-code__utilities td-code__utilities--compact"><button class=td-code__copy type=button hidden data-td-code-copy data-td-code-target=td-code-a045eb23-fence-11 data-td-copy-mode=all data-td-label-copy=复 [...]
<i class="fa-regular fa-copy" aria-hidden=true></i></button></div><div class=td-code__viewport id=td-code-a045eb23-fence-11-viewport data-td-code-viewport><div class=highlight><pre tabindex=0 class=chroma><code class=language-bash data-lang=bash><span class=line><span class=ln>1</span><span class=cl><span class=nv>HG_SERVER_STARTUP_TIMEOUT_S</span><span class=o>=</span><span class=m>300</span> <span class=nv>HUGEGRAPH_VERSION</span><span class=o>=</span>latest <span class=se>\
</span></span></span><span class=line><span class=ln>2</span><span class=cl> docker compose -f docker-compose.yml up -d --wait</span></span></code></pre></div></div><span class=visually-hidden role=status aria-live=polite data-td-code-status></span></div><p>该设置与 Docker 健康检查的 <code>start_period</code>、<code>interval</code>、<code>timeout</code> 和 <code>retries</code> 相互独立。健康检查参数决定何时将容器标记为 <code>unhealthy</code>;仅增加健康检查的等待时间,不会延长 Server 启动脚本的等待期限。调整此变量也不会自动修改健康检查参数,启动较慢时应分别检查这两组设置。</p><h3 [...]
-<span>最后修改 2026-10-16 · <a data-proofer-ignore href=https://github.com/apache/hugegraph-doc/commit/2bf059cb438ef31f7420ee827273e7243f4c9dc4>docs: align distributed startup requirements (#517) (2bf059cb4)</a></span></div></div></section><nav class="td-pager d-print-none" data-td-pager aria-label="上一页 / 下一页"><a class="td-pager__link td-pager__link--prev" href=https://hugegraph.apache.org/cn/docs/language/hugegraph-example/ aria-label="上一页 - HugeGraph Examples" title="HugeGraph Example [...]
+<span>最后修改 2026-10-17 · <a data-proofer-ignore href=https://github.com/apache/hugegraph-doc/commit/3498150c7ee2b8f27c36d33d0d871795ee08faa8>docs: add HG_SERVER_URLS_TO_PD and HG_SERVER_DEPLOY_IN_K8S (#529) (3498150c7)</a></span></div></div></section><nav class="td-pager d-print-none" data-td-pager aria-label="上一页 / 下一页"><a class="td-pager__link td-pager__link--prev" href=https://hugegraph.apache.org/cn/docs/language/hugegraph-example/ aria-label="上一页 - HugeGraph Examples" title="Hug [...]
</a><a class="td-pager__link td-pager__link--next" href=https://hugegraph.apache.org/cn/docs/quickstart/hugegraph/ aria-label="下一页 - HugeGraph (OLTP)" title="HugeGraph (OLTP)" data-td-pager-next><span class=td-pager__title dir=auto>HugeGraph (OLTP)</span><span class=td-pager__arrow aria-hidden=true>→</span></a></nav></div></div></article></main><aside class="td-shell-toc d-print-none" aria-label=目录><div class=td-shell-toc__panel><div class=td-shell-aside data-td-shell-aside><div class="t [...]
<button type=button class="td-shell-tree__row td-shell-aside-group__head" data-td-shell-tree-toggle data-td-shell-aside-keep-open aria-expanded=true aria-controls=td-shell-aside-toc aria-label="收起章节: 目录" data-td-label-expand="展开章节: 目录" data-td-label-collapse="收起章节: 目录"><span class="td-shell-aside-group__icon td-shell-aside-group__icon--toc" aria-hidden=true><i class="td-shell-icon td-shell-icon--menu fa-solid fa-bars" aria-hidden=true></i></span>
<span class=td-shell-aside-group__title>目录</span>
diff --git a/cn/docs/guides/hugegraph-docker-cluster/index.md b/cn/docs/guides/hugegraph-docker-cluster/index.md
index ffebacc61..a273c8f33 100644
--- a/cn/docs/guides/hugegraph-docker-cluster/index.md
+++ b/cn/docs/guides/hugegraph-docker-cluster/index.md
@@ -209,6 +209,8 @@ curl -o /dev/null -w '%{http_code}\n' -u "admin:${HUGEGRAPH_ADMIN_PASSWORD}" \
| `HG_SERVER_USE_PD` | `false` | `rest-server.properties` 中的 `usePD` |
| `HG_SERVER_CLUSTER` | `hg-test` | `rest-server.properties` 中的 `cluster` |
| `HG_SERVER_REST_URL` | `http://0.0.0.0:8080`(镜像中已设置) | `restserver.url` |
+| `HG_SERVER_URLS_TO_PD` | `http://0.0.0.0:8080` | `server.urls_to_pd`:本 Server 注册到 PD 的地址列表(逗号分隔),代替 `restserver.url`;仅在 `server.deploy_in_k8s` 为 `true` 时生效;每个地址都要自带 `http://` 前缀,系统只会给第一个地址补上;其中的空白字符会被去除 |
+| `HG_SERVER_DEPLOY_IN_K8S` | `false` | `rest-server.properties` 中的 `server.deploy_in_k8s` |
| `HG_SERVER_MIN_FREE_MEMORY` | `64`(MB) | `restserver.min_free_memory` |
| `HG_SERVER_INIT_STORE_ENABLED` | `true` | `init_store.enabled`;元数据由存储侧管理的 PD/HStore 部署应设为 `false` |
| `HG_SERVER_AUTH_TOKEN_SECRET` | 设置了 `PASSWORD` 时自动生成 | 两个配置文件中的 `auth.token_secret`,至少 32 字节 |
@@ -240,7 +242,7 @@ curl -o /dev/null -w '%{http_code}\n' -u "admin:${HUGEGRAPH_ADMIN_PASSWORD}" \
入口脚本在等待 Java 进程前会先等待 `wait-partition.sh`。若 Java 进程在分区轮询阶段提前退出,轮询仍可能消耗完整超时预算后入口脚本才感知到退出;
若轮询成功,后续的最终诊断也可能再次消耗完整的超时预算。信号触发的关闭仍可正常中断检查。
-`HG_SERVER_INIT_STORE_ENABLED` 只接受 `HugeConfig` 能识别的写法(忽略大小写):`y`、`t`、`yes`、`on`、`true`、`n`、`f`、`no`、`off`、`false`。其他取值(包括 `0` 和 `1`)都会让入口脚本终止。
+`HG_SERVER_INIT_STORE_ENABLED` 和 `HG_SERVER_DEPLOY_IN_K8S` 只接受 `HugeConfig` 能识别的写法(忽略大小写):`y`、`t`、`yes`、`on`、`true`、`n`、`f`、`no`、`off`、`false`。其他取值(包括 `0` 和 `1`)都会让入口脚本终止。
入口脚本在初始化成功后写入 `docker/init_complete`,后续启动会跳过重新初始化,但仍会再执行一次 `bin/init-store.sh`,以便关闭状态下每次启动都重新校验配置。
diff --git a/cn/docs/guides/index.xml b/cn/docs/guides/index.xml
index 8dca16551..0054936d5 100644
--- a/cn/docs/guides/index.xml
+++ b/cn/docs/guides/index.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>使用指南 on Apache HugeGraph</title><link>https://hugegraph.apache.org/cn/docs/guides/</link><description>Recent content in 使用指南 on Apache HugeGraph</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Fri, 16 Oct 2026 01:46:31 +0800</lastBuildDate><atom:link href="https://hugegraph.apache.org/cn/docs/guides/index.xml" rel="self" type= [...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>使用指南 on Apache HugeGraph</title><link>https://hugegraph.apache.org/cn/docs/guides/</link><description>Recent content in 使用指南 on Apache HugeGraph</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Sat, 17 Oct 2026 15:04:24 +0530</lastBuildDate><atom:link href="https://hugegraph.apache.org/cn/docs/guides/index.xml" rel="self" type= [...]
\ No newline at end of file
diff --git a/cn/docs/llms-full.txt b/cn/docs/llms-full.txt
index e2d5cfbf0..79a31b87e 100644
--- a/cn/docs/llms-full.txt
+++ b/cn/docs/llms-full.txt
@@ -1501,6 +1501,8 @@ curl -o /dev/null -w '%{http_code}\n' -u "admin:${HUGEGRAPH_ADMIN_PASSWORD}" \
| `HG_SERVER_USE_PD` | `false` | `rest-server.properties` 中的 `usePD` |
| `HG_SERVER_CLUSTER` | `hg-test` | `rest-server.properties` 中的 `cluster` |
| `HG_SERVER_REST_URL` | `http://0.0.0.0:8080`(镜像中已设置) | `restserver.url` |
+| `HG_SERVER_URLS_TO_PD` | `http://0.0.0.0:8080` | `server.urls_to_pd`:本 Server 注册到 PD 的地址列表(逗号分隔),代替 `restserver.url`;仅在 `server.deploy_in_k8s` 为 `true` 时生效;每个地址都要自带 `http://` 前缀,系统只会给第一个地址补上;其中的空白字符会被去除 |
+| `HG_SERVER_DEPLOY_IN_K8S` | `false` | `rest-server.properties` 中的 `server.deploy_in_k8s` |
| `HG_SERVER_MIN_FREE_MEMORY` | `64`(MB) | `restserver.min_free_memory` |
| `HG_SERVER_INIT_STORE_ENABLED` | `true` | `init_store.enabled`;元数据由存储侧管理的 PD/HStore 部署应设为 `false` |
| `HG_SERVER_AUTH_TOKEN_SECRET` | 设置了 `PASSWORD` 时自动生成 | 两个配置文件中的 `auth.token_secret`,至少 32 字节 |
@@ -1532,7 +1534,7 @@ curl -o /dev/null -w '%{http_code}\n' -u "admin:${HUGEGRAPH_ADMIN_PASSWORD}" \
入口脚本在等待 Java 进程前会先等待 `wait-partition.sh`。若 Java 进程在分区轮询阶段提前退出,轮询仍可能消耗完整超时预算后入口脚本才感知到退出;
若轮询成功,后续的最终诊断也可能再次消耗完整的超时预算。信号触发的关闭仍可正常中断检查。
-`HG_SERVER_INIT_STORE_ENABLED` 只接受 `HugeConfig` 能识别的写法(忽略大小写):`y`、`t`、`yes`、`on`、`true`、`n`、`f`、`no`、`off`、`false`。其他取值(包括 `0` 和 `1`)都会让入口脚本终止。
+`HG_SERVER_INIT_STORE_ENABLED` 和 `HG_SERVER_DEPLOY_IN_K8S` 只接受 `HugeConfig` 能识别的写法(忽略大小写):`y`、`t`、`yes`、`on`、`true`、`n`、`f`、`no`、`off`、`false`。其他取值(包括 `0` 和 `1`)都会让入口脚本终止。
入口脚本在初始化成功后写入 `docker/init_complete`,后续启动会跳过重新初始化,但仍会再执行一次 `bin/init-store.sh`,以便关闭状态下每次启动都重新校验配置。
@@ -2818,6 +2820,8 @@ curl -u "store:${HG_PD_AUTH_SECRET_KEY:?请先设置 PD 部署密钥}" \
PD 以 `hg` 前缀注册自己的指标,因此 `/actuator/prometheus` 除标准 JVM 指标外还会暴露 `hg_up`、`hg_graphs`、`hg_stores` 和 `hg_terms`,在存在图之后还会有按图统计的分区和大小指标。
+在 1.7.0 之后的版本中,PD 还会为每个已注册的 Store 导出 `hg_store_state{store="<id>",state="<state>"}`:Store 当前状态(`Unknown`、`Pending`、`Up`、`Offline`、`Exiting` 或 `Tombstone`)对应的序列为 `1`,其余为 `0`;以及 `hg_store_leader_count{store="<id>"}`,即 leader 位于该 Store 上的分片组数量。重建后的 Store 在 leader 迁回之前会报告 `0`。所有 PD 成员读取的是同一份复制的元数据,因此聚合这些序列前请先只选取一个实例。
+
---
反链:
@@ -25110,7 +25114,7 @@ HugeGraphServer 内部集成了 GremlinServer 和 RestServer,而 gremlin-serve
完整的默认文件见Server 主线源码:[gremlin-server.yaml](https://github.com/apache/hugegraph/blob/master/hugegraph-server/hugegraph-dist/src/assembly/static/conf/gremlin-server.yaml)、[rest-server.properties](https://github.com/apache/hugegraph/blob/master/hugegraph-server/hugegraph-dist/src/assembly/static/conf/rest-server.properties)、[hugegraph.properties](https://github.com/apache/hugegraph/blob/master/hugegraph-server/hugegraph-dist/src/assembly/static/conf/graphs/hugegraph.properties) 和 [hstore.pro [...]
-以下 Docker 环境变量行为仅适用于从 `master` 主线构建的镜像,不会把任意环境变量名转换为配置项。该版本的入口脚本在初始化和启动前处理 `HG_SERVER_BACKEND`、`HG_SERVER_PD_PEERS`、`HG_SERVER_USE_PD`、`HG_SERVER_CLUSTER`、`HG_SERVER_REST_URL`、`HG_SERVER_MIN_FREE_MEMORY`、`HG_SERVER_AUTH_TOKEN_SECRET`、`HG_SERVER_INIT_STORE_ENABLED` 和 `PASSWORD`;历史发布镜像需按各自 tag 对应的 entrypoint 核实支持项。见 [Docker entrypoint](https://github.com/apache/hugegraph/blob/master/hugegraph-server/hugegraph-dist/docker/docker-entrypoint.sh)。
+以下 Docker 环境变量行为仅适用于从 `master` 主线构建的镜像,不会把任意环境变量名转换为配置项。该版本的入口脚本在初始化和启动前处理 `HG_SERVER_BACKEND`、`HG_SERVER_PD_PEERS`、`HG_SERVER_USE_PD`、`HG_SERVER_CLUSTER`、`HG_SERVER_REST_URL`、`HG_SERVER_URLS_TO_PD`、`HG_SERVER_DEPLOY_IN_K8S`、`HG_SERVER_MIN_FREE_MEMORY`、`HG_SERVER_AUTH_TOKEN_SECRET`、`HG_SERVER_INIT_STORE_ENABLED` 和 `PASSWORD`;历史发布镜像需按各自 tag 对应的 entrypoint 核实支持项。见 [Docker entrypoint](https://github.com/apache/hugegraph/blob/master/hugegraph-server/hugegraph-dist/docker/docker-entrypoint.sh)。
### 2 gremlin-server.yaml
diff --git a/cn/docs/quickstart/hugegraph/hugegraph-pd/index.html b/cn/docs/quickstart/hugegraph/hugegraph-pd/index.html
index 0861f42cb..2cdd4d0d9 100644
--- a/cn/docs/quickstart/hugegraph/hugegraph-pd/index.html
+++ b/cn/docs/quickstart/hugegraph/hugegraph-pd/index.html
@@ -1,4 +1,4 @@
-<!doctype html><html itemscope itemtype=http://schema.org/WebPage dir=ltr lang=zh-CN data-td-typography=technical data-td-preset=slate data-td-site-preset=slate data-td-theme-init><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=color-scheme content="light dark"><meta name=theme-color content="#f1f4f8" data-td-canvas-light=#f1f4f8 data-td-canvas-dark=#0b1119><style>html{background:#f1f4f8;color:#16222e}html[data-bs-the [...]
+<!doctype html><html itemscope itemtype=http://schema.org/WebPage dir=ltr lang=zh-CN data-td-typography=technical data-td-preset=slate data-td-site-preset=slate data-td-theme-init><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=color-scheme content="light dark"><meta name=theme-color content="#f1f4f8" data-td-canvas-light=#f1f4f8 data-td-canvas-dark=#0b1119><style>html{background:#f1f4f8;color:#16222e}html[data-bs-the [...]
<span class=td-nav-title>HugeGraph</span></a><div class="td-nav-links td-nav-menu-zone"><div class=td-nav-menu data-td-navbar-menu><a class="nav-link td-nav-menu__parent-link active" href=https://hugegraph.apache.org/cn/docs/ data-td-navbar-level=0 data-td-navbar-kind=link data-td-navbar-route aria-label=文档 data-td-navbar-region=desktop data-td-navbar-label=文档 data-td-navbar-external=false aria-controls=td-navbar-desktop-docs-0 aria-expanded=false><i class="fa-solid fa-book" aria-hidden= [...]
<span class=td-navbar-entry__label>文档</span></a><div class=td-nav-menu__panel id=td-navbar-desktop-docs-0 data-td-navbar-panel hidden><a class="td-nav-menu__item-link active" href=https://hugegraph.apache.org/cn/docs/quickstart/ data-td-navbar-level=1 data-td-navbar-kind=link aria-label=开始 data-td-navbar-region=desktop data-td-navbar-label=开始 data-td-navbar-external=false><i class="fa-solid fa-rocket" aria-hidden=true></i>
<span class=td-navbar-entry__label>开始</span></a>
@@ -241,8 +241,8 @@
</span></span><span class=line><span class=ln>32</span><span class=cl> <span class=s2>"numOfNormalService"</span><span class=o>:</span> <span class=mi>1</span>
</span></span><span class=line><span class=ln>33</span><span class=cl> <span class=p>},</span>
</span></span><span class=line><span class=ln>34</span><span class=cl> <span class=s2>"status"</span><span class=o>:</span> <span class=mi>0</span>
-</span></span><span class=line><span class=ln>35</span><span class=cl><span class=p>}</span></span></span></code></pre></div></div><span class=visually-hidden role=status aria-live=polite data-td-code-status></span></div><h4 id=75-其他-rest-接口>7.5 其他 REST 接口<a class=td-heading-self-link href=#75-%e5%85%b6%e4%bb%96-rest-%e6%8e%a5%e5%8f%a3 aria-label=标题锚点></a></h4><p>下表中的路径均相对于 <code>http://<pd-host>:8620</code>,除注明外都需要 7.1 中的 Basic 认证头。</p><div class=td-table-scroll tabindex=0 role=regio [...]
-<span>最后修改 2026-10-16 · <a data-proofer-ignore href=https://github.com/apache/hugegraph-doc/commit/2bf059cb438ef31f7420ee827273e7243f4c9dc4>docs: align distributed startup requirements (#517) (2bf059cb4)</a></span></div></div></section><nav class="td-pager d-print-none" data-td-pager aria-label="上一页 / 下一页"><a class="td-pager__link td-pager__link--prev" href=https://hugegraph.apache.org/cn/docs/quickstart/hugegraph/hugegraph-hstore/ aria-label="上一页 - HugeGraph-Store 快速上手" title="安装/构 [...]
+</span></span><span class=line><span class=ln>35</span><span class=cl><span class=p>}</span></span></span></code></pre></div></div><span class=visually-hidden role=status aria-live=polite data-td-code-status></span></div><h4 id=75-其他-rest-接口>7.5 其他 REST 接口<a class=td-heading-self-link href=#75-%e5%85%b6%e4%bb%96-rest-%e6%8e%a5%e5%8f%a3 aria-label=标题锚点></a></h4><p>下表中的路径均相对于 <code>http://<pd-host>:8620</code>,除注明外都需要 7.1 中的 Basic 认证头。</p><div class=td-table-scroll tabindex=0 role=regio [...]
+<span>最后修改 2026-10-17 · <a data-proofer-ignore href=https://github.com/apache/hugegraph-doc/commit/dd0693f584c63e9c0ed9ae3d201f22467a9d6873>docs(pd): document per-store state and leader count gauges (#531) (dd0693f58)</a></span></div></div></section><nav class="td-pager d-print-none" data-td-pager aria-label="上一页 / 下一页"><a class="td-pager__link td-pager__link--prev" href=https://hugegraph.apache.org/cn/docs/quickstart/hugegraph/hugegraph-hstore/ aria-label="上一页 - HugeGraph-Store 快速上 [...]
</a><a class="td-pager__link td-pager__link--next" href=https://hugegraph.apache.org/cn/docs/quickstart/hugegraph/hugegraph-helm/ aria-label="下一页 - 使用 Helm 部署 HugeGraph" title="Helm 部署" data-td-pager-next><span class=td-pager__title dir=auto>Helm 部署</span><span class=td-pager__arrow aria-hidden=true>→</span></a></nav></div></div></article></main><aside class="td-shell-toc d-print-none" aria-label=目录><div class=td-shell-toc__panel><div class=td-shell-aside data-td-shell-aside><div class=" [...]
<button type=button class="td-shell-tree__row td-shell-aside-group__head" data-td-shell-tree-toggle data-td-shell-aside-keep-open aria-expanded=true aria-controls=td-shell-aside-toc aria-label="收起章节: 目录" data-td-label-expand="展开章节: 目录" data-td-label-collapse="收起章节: 目录"><span class="td-shell-aside-group__icon td-shell-aside-group__icon--toc" aria-hidden=true><i class="td-shell-icon td-shell-icon--menu fa-solid fa-bars" aria-hidden=true></i></span>
<span class=td-shell-aside-group__title>目录</span>
diff --git a/cn/docs/quickstart/hugegraph/hugegraph-pd/index.md b/cn/docs/quickstart/hugegraph/hugegraph-pd/index.md
index 020b36327..8f733d07e 100644
--- a/cn/docs/quickstart/hugegraph/hugegraph-pd/index.md
+++ b/cn/docs/quickstart/hugegraph/hugegraph-pd/index.md
@@ -533,6 +533,8 @@ curl -u "store:${HG_PD_AUTH_SECRET_KEY:?请先设置 PD 部署密钥}" \
PD 以 `hg` 前缀注册自己的指标,因此 `/actuator/prometheus` 除标准 JVM 指标外还会暴露 `hg_up`、`hg_graphs`、`hg_stores` 和 `hg_terms`,在存在图之后还会有按图统计的分区和大小指标。
+在 1.7.0 之后的版本中,PD 还会为每个已注册的 Store 导出 `hg_store_state{store="<id>",state="<state>"}`:Store 当前状态(`Unknown`、`Pending`、`Up`、`Offline`、`Exiting` 或 `Tombstone`)对应的序列为 `1`,其余为 `0`;以及 `hg_store_leader_count{store="<id>"}`,即 leader 位于该 Store 上的分片组数量。重建后的 Store 在 leader 迁回之前会报告 `0`。所有 PD 成员读取的是同一份复制的元数据,因此聚合这些序列前请先只选取一个实例。
+
---
反链:
diff --git a/cn/docs/quickstart/hugegraph/index.xml b/cn/docs/quickstart/hugegraph/index.xml
index 03505a440..470a2f849 100644
--- a/cn/docs/quickstart/hugegraph/index.xml
+++ b/cn/docs/quickstart/hugegraph/index.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>HugeGraph (OLTP) on Apache HugeGraph</title><link>https://hugegraph.apache.org/cn/docs/quickstart/hugegraph/</link><description>Recent content in HugeGraph (OLTP) on Apache HugeGraph</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Sat, 17 Oct 2026 01:37:53 +0800</lastBuildDate><atom:link href="https://hugegraph.apache.org/cn/d [...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>HugeGraph (OLTP) on Apache HugeGraph</title><link>https://hugegraph.apache.org/cn/docs/quickstart/hugegraph/</link><description>Recent content in HugeGraph (OLTP) on Apache HugeGraph</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Sat, 17 Oct 2026 15:10:42 +0530</lastBuildDate><atom:link href="https://hugegraph.apache.org/cn/d [...]
\ No newline at end of file
diff --git a/cn/index.xml b/cn/index.xml
index c182fa593..9698e5090 100644
--- a/cn/index.xml
+++ b/cn/index.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Apache HugeGraph</title><link>https://hugegraph.apache.org/cn/</link><description>Recent content on Apache HugeGraph</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Sat, 17 Oct 2026 01:37:53 +0800</lastBuildDate><atom:link href="https://hugegraph.apache.org/cn/index.xml" rel="self" type="application/rss+xml"/><item><title>Grap [...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Apache HugeGraph</title><link>https://hugegraph.apache.org/cn/</link><description>Recent content on Apache HugeGraph</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Sat, 17 Oct 2026 15:10:42 +0530</lastBuildDate><atom:link href="https://hugegraph.apache.org/cn/index.xml" rel="self" type="application/rss+xml"/><item><title>Grap [...]
\ No newline at end of file
diff --git a/cn/sitemap.xml b/cn/sitemap.xml
index ff0f72179..39705acf5 100644
--- a/cn/sitemap.xml
+++ b/cn/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://hugegraph.apache.org/cn/docs/clients/restful-api/graphspace/</loc><lastmod>2026-10-12T03:51:58+08:00</lastmod><xhtml:link rel="alternate" hreflang="en-US" href="https://hugegraph.apache.org/docs/clients/restful-api/graphspace/"/><xhtml:link rel="alternate" hreflang="zh-CN" href="https://hugegraph.apache.org/cn/docs [...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://hugegraph.apache.org/cn/docs/clients/restful-api/graphspace/</loc><lastmod>2026-10-12T03:51:58+08:00</lastmod><xhtml:link rel="alternate" hreflang="en-US" href="https://hugegraph.apache.org/docs/clients/restful-api/graphspace/"/><xhtml:link rel="alternate" hreflang="zh-CN" href="https://hugegraph.apache.org/cn/docs [...]
\ No newline at end of file
diff --git a/docs/config/config-guide/index.html b/docs/config/config-guide/index.html
index b08cea279..be5cd1d28 100644
--- a/docs/config/config-guide/index.html
+++ b/docs/config/config-guide/index.html
@@ -4,10 +4,10 @@ HugeGraphServer integrates GremlinServer and RestServer, configured by gremlin-s
GremlinServer: Accepts Gremlin requests and invokes the graph engine. RestServer: Provides REST APIs that invoke Core APIs. A Gremlin request body is forwarded to GremlinServer to operate on graph data. The following sections describe these files."><link rel=canonical href=https://hugegraph.apache.org/docs/config/config-guide/><link rel=alternate hreflang=en-US href=https://hugegraph.apache.org/docs/config/config-guide/><link rel=alternate hreflang=zh-CN href=https://hugegraph.apache.org [...]
The main files are gremlin-server.yaml, rest-server.properties, and hugegraph.properties.
HugeGraphServer integrates GremlinServer and RestServer, configured by gremlin-server.yaml and rest-server.properties respectively.
-GremlinServer: Accepts Gremlin requests and invokes the graph engine. RestServer: Provides REST APIs that invoke Core APIs. A Gremlin request body is forwarded to GremlinServer to operate on graph data. The following sections describe these files."><meta property="og:locale" content="en_US"><meta property="og:type" content="article"><meta property="article:section" content="docs"><meta property="article:modified_time" content="2026-10-15T03:59:21+08:00"><meta property="og:image" content= [...]
+GremlinServer: Accepts Gremlin requests and invokes the graph engine. RestServer: Provides REST APIs that invoke Core APIs. A Gremlin request body is forwarded to GremlinServer to operate on graph data. The following sections describe these files."><meta property="og:locale" content="en_US"><meta property="og:type" content="article"><meta property="article:section" content="docs"><meta property="article:modified_time" content="2026-10-17T15:04:24+05:30"><meta property="og:image" content= [...]
The main files are gremlin-server.yaml, rest-server.properties, and hugegraph.properties.
HugeGraphServer integrates GremlinServer and RestServer, configured by gremlin-server.yaml and rest-server.properties respectively.
-GremlinServer: Accepts Gremlin requests and invokes the graph engine. RestServer: Provides REST APIs that invoke Core APIs. A Gremlin request body is forwarded to GremlinServer to operate on graph data. The following sections describe these files."><meta itemprop=dateModified content="2026-10-15T03:59:21+08:00"><meta itemprop=wordCount content="1257"><meta itemprop=image content="https://hugegraph.apache.org/img/social/hugegraph-apache.png"><meta name=twitter:card content="summary_large_ [...]
+GremlinServer: Accepts Gremlin requests and invokes the graph engine. RestServer: Provides REST APIs that invoke Core APIs. A Gremlin request body is forwarded to GremlinServer to operate on graph data. The following sections describe these files."><meta itemprop=dateModified content="2026-10-17T15:04:24+05:30"><meta itemprop=wordCount content="1259"><meta itemprop=image content="https://hugegraph.apache.org/img/social/hugegraph-apache.png"><meta name=twitter:card content="summary_large_ [...]
The main files are gremlin-server.yaml, rest-server.properties, and hugegraph.properties.
HugeGraphServer integrates GremlinServer and RestServer, configured by gremlin-server.yaml and rest-server.properties respectively.
GremlinServer: Accepts Gremlin requests and invokes the graph engine. RestServer: Provides REST APIs that invoke Core APIs. A Gremlin request body is forwarded to GremlinServer to operate on graph data. The following sections describe these files."><link rel=preload href=https://hugegraph.apache.org/scss/main.min.368f17d8dfe88c22ed1c46abfd8981c273eded2a3b17431e36754a3d9c842a15.css as=style integrity="sha256-No8X2N/ojCLtHEar/YmBwnPt7So7F0MeNnVKPZyEKhU=" crossorigin=anonymous><link href=ht [...]
@@ -109,7 +109,7 @@ GremlinServer: Accepts Gremlin requests and invokes the graph engine. RestServer
</button>
<button type=button class=td-page-actions__toggle data-td-page-actions-toggle aria-expanded=false aria-controls=td-page-actions-menu title=Actions aria-label=Actions><i class="td-shell-icon td-shell-icon--chevron-down fa-solid fa-angle-down" aria-hidden=true></i></button></div><ul class=td-page-actions__menu id=td-page-actions-menu data-td-page-actions-menu aria-label=Actions><li><button type=button class=td-page-actions__item data-td-action=copy_markdown data-td-url=https://hugegraph.ap [...]
<i class="fa-regular fa-copy" aria-hidden=true></i><span>Copy Markdown</span></button></li><li><a class=td-page-actions__item data-td-action=view_markdown href=https://hugegraph.apache.org/docs/config/config-guide/index.md target=_blank rel=noopener><i class="fa-brands fa-markdown" aria-hidden=true></i><span>View markdown</span></a></li><li><a class=td-page-actions__item data-td-action=view_history href=https://github.com/apache/hugegraph-doc/commits/master/content/en/docs/config/config- [...]
-The file-loading behavior on this page was checked against Server master commit <code>2f827d6</code>. Use the configuration files and entry scripts that correspond to your installed release.</p><div class=td-table-scroll tabindex=0 role=region aria-label="Scrollable table"><table><thead><tr><th scope=col>File</th><th scope=col>Source and purpose</th><th scope=col>Loading behavior</th></tr></thead><tbody><tr><td><code>conf/gremlin-server.yaml</code></td><td>Shipped with the distribution; [...]
+The file-loading behavior on this page was checked against Server master commit <code>2f827d6</code>. Use the configuration files and entry scripts that correspond to your installed release.</p><div class=td-table-scroll tabindex=0 role=region aria-label="Scrollable table"><table><thead><tr><th scope=col>File</th><th scope=col>Source and purpose</th><th scope=col>Loading behavior</th></tr></thead><tbody><tr><td><code>conf/gremlin-server.yaml</code></td><td>Shipped with the distribution; [...]
<i class="fa-regular fa-copy" aria-hidden=true></i></button></div><div class=td-code__viewport id=td-code-a3e6094c-fence-0-viewport data-td-code-viewport><div class=highlight><pre tabindex=0 class=chroma><code class=language-yaml data-lang=yaml><span class=line><span class=ln>1</span><span class=cl><span class=c>#host: 127.0.0.1</span><span class=w>
</span></span></span><span class=line><span class=ln>2</span><span class=cl><span class=c>#port: 8182</span><span class=w>
</span></span></span><span class=line><span class=ln>3</span><span class=cl><span class=nt>evaluationTimeout</span><span class=p>:</span><span class=w> </span><span class=m>30000</span><span class=w>
@@ -197,7 +197,7 @@ initialization and is not a security isolation switch. Restart Server to apply g
<i class="fa-regular fa-copy" aria-hidden=true></i></button></div><div class=td-code__viewport id=td-code-a3e6094c-fence-11-viewport data-td-code-viewport><div class=highlight><pre tabindex=0 class=chroma><code class=language-bash data-lang=bash><span class=line><span class=ln>1</span><span class=cl>curl http://127.0.0.1:8080/graphspaces/DEFAULT/graphs/hugegraph_rocksdb
</span></span><span class=line><span class=ln>2</span><span class=cl>
</span></span><span class=line><span class=ln>3</span><span class=cl><span class=o>{</span><span class=s2>"name"</span>:<span class=s2>"hugegraph_rocksdb"</span>,<span class=s2>"backend"</span>:<span class=s2>"rocksdb"</span><span class=o>}</span></span></span></code></pre></div></div><span class=visually-hidden role=status aria-live=polite data-td-code-status></span></div><template data-hg-authored-content=end></template><div class=td-page-end><section cl [...]
-<span>Last modified 2026-10-15 · <a data-proofer-ignore href=https://github.com/apache/hugegraph-doc/commit/0cd9a984c1d32565e45a1481d10e6ccfcbb7660b>docs: clarify graph maintenance and client routing (#519) (0cd9a984c)</a></span></div></div></section><nav class="td-pager d-print-none" data-td-pager aria-label="Previous / Next"><a class="td-pager__link td-pager__link--prev" href=https://hugegraph.apache.org/docs/config/ aria-label="Previous - HugeGraph-Server Configuration" title="Se [...]
+<span>Last modified 2026-10-17 · <a data-proofer-ignore href=https://github.com/apache/hugegraph-doc/commit/3498150c7ee2b8f27c36d33d0d871795ee08faa8>docs: add HG_SERVER_URLS_TO_PD and HG_SERVER_DEPLOY_IN_K8S (#529) (3498150c7)</a></span></div></div></section><nav class="td-pager d-print-none" data-td-pager aria-label="Previous / Next"><a class="td-pager__link td-pager__link--prev" href=https://hugegraph.apache.org/docs/config/ aria-label="Previous - HugeGraph-Server Configuration" t [...]
</a><a class="td-pager__link td-pager__link--next" href=https://hugegraph.apache.org/docs/config/config-option/ aria-label="Next - Server Complete Configuration Manual" title="Server Complete Configuration Manual" data-td-pager-next><span class=td-pager__title dir=auto>Server Complete Configuration Manual</span><span class=td-pager__arrow aria-hidden=true>→</span></a></nav></div></div></article></main><aside class="td-shell-toc d-print-none" aria-label=Content><div class=td-shell-toc__pa [...]
<button type=button class="td-shell-tree__row td-shell-aside-group__head" data-td-shell-tree-toggle data-td-shell-aside-keep-open aria-expanded=true aria-controls=td-shell-aside-toc aria-label="Collapse section: Content" data-td-label-expand="Expand section: Content" data-td-label-collapse="Collapse section: Content"><span class="td-shell-aside-group__icon td-shell-aside-group__icon--toc" aria-hidden=true><i class="td-shell-icon td-shell-icon--menu fa-solid fa-bars" aria-hidden=true></i></span>
<span class=td-shell-aside-group__title>Content</span>
diff --git a/docs/config/config-guide/index.md b/docs/config/config-guide/index.md
index 0cb690dc5..f38d0b06a 100644
--- a/docs/config/config-guide/index.md
+++ b/docs/config/config-guide/index.md
@@ -34,7 +34,7 @@ The file-loading behavior on this page was checked against Server master commit
Complete defaults are in Server master: [gremlin-server.yaml](https://github.com/apache/hugegraph/blob/master/hugegraph-server/hugegraph-dist/src/assembly/static/conf/gremlin-server.yaml), [rest-server.properties](https://github.com/apache/hugegraph/blob/master/hugegraph-server/hugegraph-dist/src/assembly/static/conf/rest-server.properties), [hugegraph.properties](https://github.com/apache/hugegraph/blob/master/hugegraph-server/hugegraph-dist/src/assembly/static/conf/graphs/hugegraph.pro [...]
-The following Docker environment-variable behavior applies only to images built from `master`; arbitrary variable names are not converted into configuration options. Before initialization and startup, this entrypoint processes `HG_SERVER_BACKEND`, `HG_SERVER_PD_PEERS`, `HG_SERVER_USE_PD`, `HG_SERVER_CLUSTER`, `HG_SERVER_REST_URL`, `HG_SERVER_MIN_FREE_MEMORY`, `HG_SERVER_AUTH_TOKEN_SECRET`, `HG_SERVER_INIT_STORE_ENABLED`, and `PASSWORD`. Check the tagged entrypoint for historical release [...]
+The following Docker environment-variable behavior applies only to images built from `master`; arbitrary variable names are not converted into configuration options. Before initialization and startup, this entrypoint processes `HG_SERVER_BACKEND`, `HG_SERVER_PD_PEERS`, `HG_SERVER_USE_PD`, `HG_SERVER_CLUSTER`, `HG_SERVER_REST_URL`, `HG_SERVER_URLS_TO_PD`, `HG_SERVER_DEPLOY_IN_K8S`, `HG_SERVER_MIN_FREE_MEMORY`, `HG_SERVER_AUTH_TOKEN_SECRET`, `HG_SERVER_INIT_STORE_ENABLED`, and `PASSWORD`. [...]
### 2 gremlin-server.yaml
diff --git a/docs/config/index.xml b/docs/config/index.xml
index 3cc6ef91e..f3611b149 100644
--- a/docs/config/index.xml
+++ b/docs/config/index.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>HugeGraph-Server Configuration on Apache HugeGraph</title><link>https://hugegraph.apache.org/docs/config/</link><description>Recent content in HugeGraph-Server Configuration on Apache HugeGraph</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Thu, 15 Oct 2026 03:59:21 +0800</lastBuildDate><atom:link href="https://hugegraph.apac [...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>HugeGraph-Server Configuration on Apache HugeGraph</title><link>https://hugegraph.apache.org/docs/config/</link><description>Recent content in HugeGraph-Server Configuration on Apache HugeGraph</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sat, 17 Oct 2026 15:04:24 +0530</lastBuildDate><atom:link href="https://hugegraph.apac [...]
\ No newline at end of file
diff --git a/docs/guides/hugegraph-docker-cluster/index.html b/docs/guides/hugegraph-docker-cluster/index.html
index 4d7133a0e..282ebaab3 100644
--- a/docs/guides/hugegraph-docker-cluster/index.html
+++ b/docs/guides/hugegraph-docker-cluster/index.html
@@ -1,7 +1,7 @@
<!doctype html><html itemscope itemtype=http://schema.org/WebPage dir=ltr lang=en-US data-td-typography=technical data-td-preset=slate data-td-site-preset=slate data-td-theme-init><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=color-scheme content="light dark"><meta name=theme-color content="#f1f4f8" data-td-canvas-light=#f1f4f8 data-td-canvas-dark=#0b1119><style>html{background:#f1f4f8;color:#16222e}html[data-bs-the [...]
Prerequisites Docker Engine 20.10+ or Docker Desktop 4.x+ Docker Compose v2 For a three-node cluster on macOS, allocate at least 12 GB of memory (Settings → Resources → Memory). Adjust resources to suit other platforms. Tested environments: Linux (native Docker) and macOS (Docker Desktop on ARM M4)."><link rel=canonical href=https://hugegraph.apache.org/docs/guides/hugegraph-docker-cluster/><link rel=alternate hreflang=en-US href=https://hugegraph.apache.org/docs/guides/hugegraph-docker- [...]
-Prerequisites Docker Engine 20.10+ or Docker Desktop 4.x+ Docker Compose v2 For a three-node cluster on macOS, allocate at least 12 GB of memory (Settings → Resources → Memory). Adjust resources to suit other platforms. Tested environments: Linux (native Docker) and macOS (Docker Desktop on ARM M4)."><meta property="og:locale" content="en_US"><meta property="og:type" content="article"><meta property="article:section" content="docs"><meta property="article:modified_time" content="2026-10- [...]
-Prerequisites Docker Engine 20.10+ or Docker Desktop 4.x+ Docker Compose v2 For a three-node cluster on macOS, allocate at least 12 GB of memory (Settings → Resources → Memory). Adjust resources to suit other platforms. Tested environments: Linux (native Docker) and macOS (Docker Desktop on ARM M4)."><meta itemprop=dateModified content="2026-10-16T01:46:31+08:00"><meta itemprop=wordCount content="3274"><meta itemprop=image content="https://hugegraph.apache.org/img/social/hugegraph-apache [...]
+Prerequisites Docker Engine 20.10+ or Docker Desktop 4.x+ Docker Compose v2 For a three-node cluster on macOS, allocate at least 12 GB of memory (Settings → Resources → Memory). Adjust resources to suit other platforms. Tested environments: Linux (native Docker) and macOS (Docker Desktop on ARM M4)."><meta property="og:locale" content="en_US"><meta property="og:type" content="article"><meta property="article:section" content="docs"><meta property="article:modified_time" content="2026-10- [...]
+Prerequisites Docker Engine 20.10+ or Docker Desktop 4.x+ Docker Compose v2 For a three-node cluster on macOS, allocate at least 12 GB of memory (Settings → Resources → Memory). Adjust resources to suit other platforms. Tested environments: Linux (native Docker) and macOS (Docker Desktop on ARM M4)."><meta itemprop=dateModified content="2026-10-17T15:04:24+05:30"><meta itemprop=wordCount content="3318"><meta itemprop=image content="https://hugegraph.apache.org/img/social/hugegraph-apache [...]
Prerequisites Docker Engine 20.10+ or Docker Desktop 4.x+ Docker Compose v2 For a three-node cluster on macOS, allocate at least 12 GB of memory (Settings → Resources → Memory). Adjust resources to suit other platforms. Tested environments: Linux (native Docker) and macOS (Docker Desktop on ARM M4)."><link rel=preload href=https://hugegraph.apache.org/scss/main.min.368f17d8dfe88c22ed1c46abfd8981c273eded2a3b17431e36754a3d9c842a15.css as=style integrity="sha256-No8X2N/ojCLtHEar/YmBwnPt7So7 [...]
<span class=td-nav-title>HugeGraph</span></a><div class="td-nav-links td-nav-menu-zone"><div class=td-nav-menu data-td-navbar-menu><a class="nav-link td-nav-menu__parent-link active" href=https://hugegraph.apache.org/docs/ data-td-navbar-level=0 data-td-navbar-kind=link data-td-navbar-route aria-label=Documentation data-td-navbar-region=desktop data-td-navbar-label=Documentation data-td-navbar-external=false aria-controls=td-navbar-desktop-docs-0 aria-expanded=false><i class="fa-solid fa [...]
<span class=td-navbar-entry__label>Documentation</span></a><div class=td-nav-menu__panel id=td-navbar-desktop-docs-0 data-td-navbar-panel hidden><a class=td-nav-menu__item-link href=https://hugegraph.apache.org/docs/quickstart/ data-td-navbar-level=1 data-td-navbar-kind=link aria-label="Get Started" data-td-navbar-region=desktop data-td-navbar-label="Get Started" data-td-navbar-external=false><i class="fa-solid fa-rocket" aria-hidden=true></i>
@@ -150,7 +150,7 @@ Prerequisites Docker Engine 20.10+ or Docker Desktop 4.x+ Docker Compose v2 For
</span></span><span class=line><span class=ln>2</span><span class=cl>curl -o /dev/null -w <span class=s1>'%{http_code}\n'</span> <span class=se>\
</span></span></span><span class=line><span class=ln>3</span><span class=cl> http://localhost:8080/graphspaces/DEFAULT/graphs <span class=c1># Expect 401</span>
</span></span><span class=line><span class=ln>4</span><span class=cl>curl -o /dev/null -w <span class=s1>'%{http_code}\n'</span> -u <span class=s2>"admin:</span><span class=si>${</span><span class=nv>HUGEGRAPH_ADMIN_PASSWORD</span><span class=si>}</span><span class=s2>"</span> <span class=se>\
-</span></span></span><span class=line><span class=ln>5</span><span class=cl> http://localhost:8080/graphspaces/DEFAULT/graphs <span class=c1># Expect 200</span></span></span></code></pre></div></div><span class=visually-hidden role=status aria-live=polite data-td-code-status></span></div><p>The other Server nodes listen on <code>8081</code> and <code>8082</code>; the remaining PD and Store nodes use <code>8621</code>/<code>8622</code> and <code>8521</code>/<code>852 [...]
+</span></span></span><span class=line><span class=ln>5</span><span class=cl> http://localhost:8080/graphspaces/DEFAULT/graphs <span class=c1># Expect 200</span></span></span></code></pre></div></div><span class=visually-hidden role=status aria-live=polite data-td-code-status></span></div><p>The other Server nodes listen on <code>8081</code> and <code>8082</code>; the remaining PD and Store nodes use <code>8621</code>/<code>8622</code> and <code>8521</code>/<code>852 [...]
signing keys. Use the same key on every Server replica. When upgrading from an image that misread such a key, explicitly supply the intended
<code>HG_SERVER_AUTH_TOKEN_SECRET</code> again; retaining the old configuration also retains its misread key. If the active key changes, sign in again to
obtain new tokens. The 1.7.0 image limitation above still applies.</p><p>Older images could initialize a Unicode administrator password incorrectly when the initializer inherited the C locale. Upgrading or setting
@@ -162,7 +162,7 @@ request has no timeout. With the default value, a stalled final response times o
GNU timeout’s limit.
The entrypoint waits for <code>wait-partition.sh</code> before waiting for the Java launcher. If Java exits while partition polling is still waiting,
that poll can consume its full timeout before the entrypoint observes the exit. If polling succeeds, the diagnostic step can then consume
-a second full timeout before observation finishes; signal-triggered shutdown remains interruptible.</p><p><code>HG_SERVER_INIT_STORE_ENABLED</code> accepts only the case-insensitive boolean values recognized by <code>HugeConfig</code>: <code>y</code>, <code>t</code>, <code>yes</code>, <code>on</code>, <code>true</code>, <code>n</code>, <code>f</code>, <code>no</code>, <code>off</code>, <code>false</code>. Other values, including <code>0</code> and <code>1</code>, terminate the entrypoint [...]
+a second full timeout before observation finishes; signal-triggered shutdown remains interruptible.</p><p><code>HG_SERVER_INIT_STORE_ENABLED</code> and <code>HG_SERVER_DEPLOY_IN_K8S</code> accept only the case-insensitive boolean values recognized by <code>HugeConfig</code>: <code>y</code>, <code>t</code>, <code>yes</code>, <code>on</code>, <code>true</code>, <code>n</code>, <code>f</code>, <code>no</code>, <code>off</code>, <code>false</code>. Other values, including <code>0</code> and [...]
<i class="fa-regular fa-copy" aria-hidden=true></i></button></div><div class=td-code__viewport id=td-code-c193a316-fence-10-viewport data-td-code-viewport><div class=highlight><pre tabindex=0 class=chroma><code class=language-bash data-lang=bash><span class=line><span class=ln>1</span><span class=cl><span class=nb>set</span> -a<span class=p>;</span> . ./.env<span class=p>;</span> <span class=nb>set</span> +a
</span></span><span class=line><span class=ln>2</span><span class=cl>curl -fsS -u <span class=s2>"hg:</span><span class=si>${</span><span class=nv>HG_PD_AUTH_SECRET_KEY</span><span class=p>:?Load .env first</span><span class=si>}</span><span class=s2>"</span> http://localhost:8620/v1/stores</span></span></code></pre></div></div><span class=visually-hidden role=status aria-live=polite data-td-code-status></span></div><p>PD can complete partition allocation once all three Stores re [...]
master, the PD, Store and both Server images (<code>hugegraph/hugegraph</code> and the HStore <code>hugegraph/server</code>) set <code>STDOUT_MODE=true</code> and send service logs to stdout.
@@ -200,7 +200,7 @@ Readiness and partition checks remain interruptible during shutdown. A deadline
an unresponsive Java process relies on container termination for final cleanup.</p><p>For example, from the HugeGraph repository’s <code>docker/</code> directory, extend the standalone Server wait to 300 seconds (Compose passes this variable to the container):</p><div class="td-code td-code--untitled" id=td-code-c193a316-fence-11 data-td-code data-td-code-auto-id data-td-language=bash data-td-line-count=2><div class="td-code__utilities td-code__utilities--compact"><button class=td- [...]
<i class="fa-regular fa-copy" aria-hidden=true></i></button></div><div class=td-code__viewport id=td-code-c193a316-fence-11-viewport data-td-code-viewport><div class=highlight><pre tabindex=0 class=chroma><code class=language-bash data-lang=bash><span class=line><span class=ln>1</span><span class=cl><span class=nv>HG_SERVER_STARTUP_TIMEOUT_S</span><span class=o>=</span><span class=m>300</span> <span class=nv>HUGEGRAPH_VERSION</span><span class=o>=</span>latest <span class=se>\
</span></span></span><span class=line><span class=ln>2</span><span class=cl> docker compose -f docker-compose.yml up -d --wait</span></span></code></pre></div></div><span class=visually-hidden role=status aria-live=polite data-td-code-status></span></div><p>This setting is independent of Docker health-check <code>start_period</code>, <code>interval</code>, <code>timeout</code>, and <code>retries</code>. Those determine when a container becomes <code>unhealthy</code>; extending health-ch [...]
-<span>Last modified 2026-10-16 · <a data-proofer-ignore href=https://github.com/apache/hugegraph-doc/commit/2bf059cb438ef31f7420ee827273e7243f4c9dc4>docs: align distributed startup requirements (#517) (2bf059cb4)</a></span></div></div></section><nav class="td-pager d-print-none" data-td-pager aria-label="Previous / Next"><a class="td-pager__link td-pager__link--prev" href=https://hugegraph.apache.org/docs/language/hugegraph-example/ aria-label="Previous - HugeGraph Examples" title=" [...]
+<span>Last modified 2026-10-17 · <a data-proofer-ignore href=https://github.com/apache/hugegraph-doc/commit/3498150c7ee2b8f27c36d33d0d871795ee08faa8>docs: add HG_SERVER_URLS_TO_PD and HG_SERVER_DEPLOY_IN_K8S (#529) (3498150c7)</a></span></div></div></section><nav class="td-pager d-print-none" data-td-pager aria-label="Previous / Next"><a class="td-pager__link td-pager__link--prev" href=https://hugegraph.apache.org/docs/language/hugegraph-example/ aria-label="Previous - HugeGraph Exa [...]
</a><a class="td-pager__link td-pager__link--next" href=https://hugegraph.apache.org/docs/quickstart/hugegraph/ aria-label="Next - HugeGraph (OLTP)" title="HugeGraph (OLTP)" data-td-pager-next><span class=td-pager__title dir=auto>HugeGraph (OLTP)</span><span class=td-pager__arrow aria-hidden=true>→</span></a></nav></div></div></article></main><aside class="td-shell-toc d-print-none" aria-label=Content><div class=td-shell-toc__panel><div class=td-shell-aside data-td-shell-aside><div class [...]
<button type=button class="td-shell-tree__row td-shell-aside-group__head" data-td-shell-tree-toggle data-td-shell-aside-keep-open aria-expanded=true aria-controls=td-shell-aside-toc aria-label="Collapse section: Content" data-td-label-expand="Expand section: Content" data-td-label-collapse="Collapse section: Content"><span class="td-shell-aside-group__icon td-shell-aside-group__icon--toc" aria-hidden=true><i class="td-shell-icon td-shell-icon--menu fa-solid fa-bars" aria-hidden=true></i></span>
<span class=td-shell-aside-group__title>Content</span>
diff --git a/docs/guides/hugegraph-docker-cluster/index.md b/docs/guides/hugegraph-docker-cluster/index.md
index 0fd6a0e67..fcd4b1063 100644
--- a/docs/guides/hugegraph-docker-cluster/index.md
+++ b/docs/guides/hugegraph-docker-cluster/index.md
@@ -209,6 +209,8 @@ Unlike PD and Store, Server has no mandatory entrypoint variables: only set valu
| `HG_SERVER_USE_PD` | `false` | `usePD` in `rest-server.properties` |
| `HG_SERVER_CLUSTER` | `hg-test` | `cluster` in `rest-server.properties` |
| `HG_SERVER_REST_URL` | `http://0.0.0.0:8080` (set in the image) | `restserver.url` |
+| `HG_SERVER_URLS_TO_PD` | `http://0.0.0.0:8080` | `server.urls_to_pd`: comma-separated URLs this Server registers in PD instead of `restserver.url`; read only when `server.deploy_in_k8s` is `true`; give each URL its own `http://` prefix, since only the first entry gets one added; whitespace is removed |
+| `HG_SERVER_DEPLOY_IN_K8S` | `false` | `server.deploy_in_k8s` in `rest-server.properties` |
| `HG_SERVER_MIN_FREE_MEMORY` | `64`(MB) | `restserver.min_free_memory` |
| `HG_SERVER_INIT_STORE_ENABLED` | `true` | `init_store.enabled`; set `false` for PD/HStore deployments whose metadata is managed by storage |
| `HG_SERVER_AUTH_TOKEN_SECRET` | Generated when `PASSWORD` is set | `auth.token_secret` in both configuration files; at least 32 bytes |
@@ -245,7 +247,7 @@ The entrypoint waits for `wait-partition.sh` before waiting for the Java launche
that poll can consume its full timeout before the entrypoint observes the exit. If polling succeeds, the diagnostic step can then consume
a second full timeout before observation finishes; signal-triggered shutdown remains interruptible.
-`HG_SERVER_INIT_STORE_ENABLED` accepts only the case-insensitive boolean values recognized by `HugeConfig`: `y`, `t`, `yes`, `on`, `true`, `n`, `f`, `no`, `off`, `false`. Other values, including `0` and `1`, terminate the entrypoint.
+`HG_SERVER_INIT_STORE_ENABLED` and `HG_SERVER_DEPLOY_IN_K8S` accept only the case-insensitive boolean values recognized by `HugeConfig`: `y`, `t`, `yes`, `on`, `true`, `n`, `f`, `no`, `off`, `false`. Other values, including `0` and `1`, terminate the entrypoint.
After successful initialization, the entrypoint writes `docker/init_complete`; later starts skip reinitialization but still invoke `bin/init-store.sh` to revalidate configuration each time initialization is disabled.
diff --git a/docs/guides/index.xml b/docs/guides/index.xml
index b67d5a882..44203ea22 100644
--- a/docs/guides/index.xml
+++ b/docs/guides/index.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>GUIDES on Apache HugeGraph</title><link>https://hugegraph.apache.org/docs/guides/</link><description>Recent content in GUIDES on Apache HugeGraph</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Fri, 16 Oct 2026 01:46:31 +0800</lastBuildDate><atom:link href="https://hugegraph.apache.org/docs/guides/index.xml" rel="self" type="a [...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>GUIDES on Apache HugeGraph</title><link>https://hugegraph.apache.org/docs/guides/</link><description>Recent content in GUIDES on Apache HugeGraph</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sat, 17 Oct 2026 15:04:24 +0530</lastBuildDate><atom:link href="https://hugegraph.apache.org/docs/guides/index.xml" rel="self" type="a [...]
\ No newline at end of file
diff --git a/docs/llms-full.txt b/docs/llms-full.txt
index 03a05b582..17809596a 100644
--- a/docs/llms-full.txt
+++ b/docs/llms-full.txt
@@ -1526,6 +1526,8 @@ Unlike PD and Store, Server has no mandatory entrypoint variables: only set valu
| `HG_SERVER_USE_PD` | `false` | `usePD` in `rest-server.properties` |
| `HG_SERVER_CLUSTER` | `hg-test` | `cluster` in `rest-server.properties` |
| `HG_SERVER_REST_URL` | `http://0.0.0.0:8080` (set in the image) | `restserver.url` |
+| `HG_SERVER_URLS_TO_PD` | `http://0.0.0.0:8080` | `server.urls_to_pd`: comma-separated URLs this Server registers in PD instead of `restserver.url`; read only when `server.deploy_in_k8s` is `true`; give each URL its own `http://` prefix, since only the first entry gets one added; whitespace is removed |
+| `HG_SERVER_DEPLOY_IN_K8S` | `false` | `server.deploy_in_k8s` in `rest-server.properties` |
| `HG_SERVER_MIN_FREE_MEMORY` | `64`(MB) | `restserver.min_free_memory` |
| `HG_SERVER_INIT_STORE_ENABLED` | `true` | `init_store.enabled`; set `false` for PD/HStore deployments whose metadata is managed by storage |
| `HG_SERVER_AUTH_TOKEN_SECRET` | Generated when `PASSWORD` is set | `auth.token_secret` in both configuration files; at least 32 bytes |
@@ -1562,7 +1564,7 @@ The entrypoint waits for `wait-partition.sh` before waiting for the Java launche
that poll can consume its full timeout before the entrypoint observes the exit. If polling succeeds, the diagnostic step can then consume
a second full timeout before observation finishes; signal-triggered shutdown remains interruptible.
-`HG_SERVER_INIT_STORE_ENABLED` accepts only the case-insensitive boolean values recognized by `HugeConfig`: `y`, `t`, `yes`, `on`, `true`, `n`, `f`, `no`, `off`, `false`. Other values, including `0` and `1`, terminate the entrypoint.
+`HG_SERVER_INIT_STORE_ENABLED` and `HG_SERVER_DEPLOY_IN_K8S` accept only the case-insensitive boolean values recognized by `HugeConfig`: `y`, `t`, `yes`, `on`, `true`, `n`, `f`, `no`, `off`, `false`. Other values, including `0` and `1`, terminate the entrypoint.
After successful initialization, the entrypoint writes `docker/init_complete`; later starts skip reinitialization but still invoke `bin/init-store.sh` to revalidate configuration each time initialization is disabled.
@@ -2875,6 +2877,8 @@ The two `log` endpoints take a time range as `{"startTime": "...", "endTime": ".
PD registers its own meters under the `hg` prefix, so `/actuator/prometheus` exposes `hg_up`, `hg_graphs`, `hg_stores` and `hg_terms` alongside the standard JVM metrics, plus per-graph partition and size meters once graphs exist.
+In versions after 1.7.0, PD also exports, for each registered store, `hg_store_state{store="<id>",state="<state>"}`, which is `1` for the store's current state (`Unknown`, `Pending`, `Up`, `Offline`, `Exiting` or `Tombstone`) and `0` for the others, and `hg_store_leader_count{store="<id>"}`, the number of shard groups whose leader is on that store. A rebuilt Store reports `0` leaders until leadership moves back to it. Every PD member reads the same replicated metadata, so select one inst [...]
+
---
Backlinks:
@@ -25191,7 +25195,7 @@ The file-loading behavior on this page was checked against Server master commit
Complete defaults are in Server master: [gremlin-server.yaml](https://github.com/apache/hugegraph/blob/master/hugegraph-server/hugegraph-dist/src/assembly/static/conf/gremlin-server.yaml), [rest-server.properties](https://github.com/apache/hugegraph/blob/master/hugegraph-server/hugegraph-dist/src/assembly/static/conf/rest-server.properties), [hugegraph.properties](https://github.com/apache/hugegraph/blob/master/hugegraph-server/hugegraph-dist/src/assembly/static/conf/graphs/hugegraph.pro [...]
-The following Docker environment-variable behavior applies only to images built from `master`; arbitrary variable names are not converted into configuration options. Before initialization and startup, this entrypoint processes `HG_SERVER_BACKEND`, `HG_SERVER_PD_PEERS`, `HG_SERVER_USE_PD`, `HG_SERVER_CLUSTER`, `HG_SERVER_REST_URL`, `HG_SERVER_MIN_FREE_MEMORY`, `HG_SERVER_AUTH_TOKEN_SECRET`, `HG_SERVER_INIT_STORE_ENABLED`, and `PASSWORD`. Check the tagged entrypoint for historical release [...]
+The following Docker environment-variable behavior applies only to images built from `master`; arbitrary variable names are not converted into configuration options. Before initialization and startup, this entrypoint processes `HG_SERVER_BACKEND`, `HG_SERVER_PD_PEERS`, `HG_SERVER_USE_PD`, `HG_SERVER_CLUSTER`, `HG_SERVER_REST_URL`, `HG_SERVER_URLS_TO_PD`, `HG_SERVER_DEPLOY_IN_K8S`, `HG_SERVER_MIN_FREE_MEMORY`, `HG_SERVER_AUTH_TOKEN_SECRET`, `HG_SERVER_INIT_STORE_ENABLED`, and `PASSWORD`. [...]
### 2 gremlin-server.yaml
diff --git a/docs/quickstart/hugegraph/hugegraph-pd/index.html b/docs/quickstart/hugegraph/hugegraph-pd/index.html
index 0bd1aebb9..fbe7e889f 100644
--- a/docs/quickstart/hugegraph/hugegraph-pd/index.html
+++ b/docs/quickstart/hugegraph/hugegraph-pd/index.html
@@ -1,7 +1,7 @@
<!doctype html><html itemscope itemtype=http://schema.org/WebPage dir=ltr lang=en-US data-td-typography=technical data-td-preset=slate data-td-site-preset=slate data-td-theme-init><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=color-scheme content="light dark"><meta name=theme-color content="#f1f4f8" data-td-canvas-light=#f1f4f8 data-td-canvas-dark=#0b1119><style>html{background:#f1f4f8;color:#16222e}html[data-bs-the [...]
PD keeps cluster metadata in an embedded RocksDB store under pd.data-path and replicates it across PD nodes with Raft, so a 3-node or 5-node PD cluster keeps serving while a minority of nodes is down. On top of that it registers and activates Store nodes, allocates and rebalances partitions, tracks Store heartbeats, and answers service discovery queries from Store and Server."><link rel=canonical href=https://hugegraph.apache.org/docs/quickstart/hugegraph/hugegraph-pd/><link rel=alternat [...]
-PD keeps cluster metadata in an embedded RocksDB store under pd.data-path and replicates it across PD nodes with Raft, so a 3-node or 5-node PD cluster keeps serving while a minority of nodes is down. On top of that it registers and activates Store nodes, allocates and rebalances partitions, tracks Store heartbeats, and answers service discovery queries from Store and Server."><meta property="og:locale" content="en_US"><meta property="og:type" content="article"><meta property="article:se [...]
-PD keeps cluster metadata in an embedded RocksDB store under pd.data-path and replicates it across PD nodes with Raft, so a 3-node or 5-node PD cluster keeps serving while a minority of nodes is down. On top of that it registers and activates Store nodes, allocates and rebalances partitions, tracks Store heartbeats, and answers service discovery queries from Store and Server."><meta itemprop=dateModified content="2026-10-16T01:46:31+08:00"><meta itemprop=wordCount content="3380"><meta it [...]
+PD keeps cluster metadata in an embedded RocksDB store under pd.data-path and replicates it across PD nodes with Raft, so a 3-node or 5-node PD cluster keeps serving while a minority of nodes is down. On top of that it registers and activates Store nodes, allocates and rebalances partitions, tracks Store heartbeats, and answers service discovery queries from Store and Server."><meta property="og:locale" content="en_US"><meta property="og:type" content="article"><meta property="article:se [...]
+PD keeps cluster metadata in an embedded RocksDB store under pd.data-path and replicates it across PD nodes with Raft, so a 3-node or 5-node PD cluster keeps serving while a minority of nodes is down. On top of that it registers and activates Store nodes, allocates and rebalances partitions, tracks Store heartbeats, and answers service discovery queries from Store and Server."><meta itemprop=dateModified content="2026-10-17T15:10:42+05:30"><meta itemprop=wordCount content="3453"><meta it [...]
PD keeps cluster metadata in an embedded RocksDB store under pd.data-path and replicates it across PD nodes with Raft, so a 3-node or 5-node PD cluster keeps serving while a minority of nodes is down. On top of that it registers and activates Store nodes, allocates and rebalances partitions, tracks Store heartbeats, and answers service discovery queries from Store and Server."><link rel=preload href=https://hugegraph.apache.org/scss/main.min.368f17d8dfe88c22ed1c46abfd8981c273eded2a3b1743 [...]
<span class=td-nav-title>HugeGraph</span></a><div class="td-nav-links td-nav-menu-zone"><div class=td-nav-menu data-td-navbar-menu><a class="nav-link td-nav-menu__parent-link active" href=https://hugegraph.apache.org/docs/ data-td-navbar-level=0 data-td-navbar-kind=link data-td-navbar-route aria-label=Documentation data-td-navbar-region=desktop data-td-navbar-label=Documentation data-td-navbar-external=false aria-controls=td-navbar-desktop-docs-0 aria-expanded=false><i class="fa-solid fa [...]
<span class=td-navbar-entry__label>Documentation</span></a><div class=td-nav-menu__panel id=td-navbar-desktop-docs-0 data-td-navbar-panel hidden><a class="td-nav-menu__item-link active" href=https://hugegraph.apache.org/docs/quickstart/ data-td-navbar-level=1 data-td-navbar-kind=link aria-label="Get Started" data-td-navbar-region=desktop data-td-navbar-label="Get Started" data-td-navbar-external=false><i class="fa-solid fa-rocket" aria-hidden=true></i>
@@ -247,8 +247,8 @@ Omit <code>-g</code> for the default path. For rejected values, inspect <code>lo
</span></span><span class=line><span class=ln>32</span><span class=cl> <span class=s2>"numOfNormalService"</span><span class=o>:</span> <span class=mi>1</span>
</span></span><span class=line><span class=ln>33</span><span class=cl> <span class=p>},</span>
</span></span><span class=line><span class=ln>34</span><span class=cl> <span class=s2>"status"</span><span class=o>:</span> <span class=mi>0</span>
-</span></span><span class=line><span class=ln>35</span><span class=cl><span class=p>}</span></span></span></code></pre></div></div><span class=visually-hidden role=status aria-live=polite data-td-code-status></span></div><h4 id=75-other-rest-endpoints>7.5 Other REST endpoints<a class=td-heading-self-link href=#75-other-rest-endpoints aria-label="Link to this heading"></a></h4><p>All paths below are relative to <code>http://<pd-host>:8620</code> and need the Basic header from section 7 [...]
-<span>Last modified 2026-10-16 · <a data-proofer-ignore href=https://github.com/apache/hugegraph-doc/commit/2bf059cb438ef31f7420ee827273e7243f4c9dc4>docs: align distributed startup requirements (#517) (2bf059cb4)</a></span></div></div></section><nav class="td-pager d-print-none" data-td-pager aria-label="Previous / Next"><a class="td-pager__link td-pager__link--prev" href=https://hugegraph.apache.org/docs/quickstart/hugegraph/hugegraph-hstore/ aria-label="Previous - HugeGraph-Store [...]
+</span></span><span class=line><span class=ln>35</span><span class=cl><span class=p>}</span></span></span></code></pre></div></div><span class=visually-hidden role=status aria-live=polite data-td-code-status></span></div><h4 id=75-other-rest-endpoints>7.5 Other REST endpoints<a class=td-heading-self-link href=#75-other-rest-endpoints aria-label="Link to this heading"></a></h4><p>All paths below are relative to <code>http://<pd-host>:8620</code> and need the Basic header from section 7 [...]
+<span>Last modified 2026-10-17 · <a data-proofer-ignore href=https://github.com/apache/hugegraph-doc/commit/dd0693f584c63e9c0ed9ae3d201f22467a9d6873>docs(pd): document per-store state and leader count gauges (#531) (dd0693f58)</a></span></div></div></section><nav class="td-pager d-print-none" data-td-pager aria-label="Previous / Next"><a class="td-pager__link td-pager__link--prev" href=https://hugegraph.apache.org/docs/quickstart/hugegraph/hugegraph-hstore/ aria-label="Previous - Hu [...]
</a><a class="td-pager__link td-pager__link--next" href=https://hugegraph.apache.org/docs/quickstart/hugegraph/hugegraph-helm/ aria-label="Next - Deploy HugeGraph with Helm" title="Helm Deployment" data-td-pager-next><span class=td-pager__title dir=auto>Helm Deployment</span><span class=td-pager__arrow aria-hidden=true>→</span></a></nav></div></div></article></main><aside class="td-shell-toc d-print-none" aria-label=Content><div class=td-shell-toc__panel><div class=td-shell-aside data-td [...]
<button type=button class="td-shell-tree__row td-shell-aside-group__head" data-td-shell-tree-toggle data-td-shell-aside-keep-open aria-expanded=true aria-controls=td-shell-aside-toc aria-label="Collapse section: Content" data-td-label-expand="Expand section: Content" data-td-label-collapse="Collapse section: Content"><span class="td-shell-aside-group__icon td-shell-aside-group__icon--toc" aria-hidden=true><i class="td-shell-icon td-shell-icon--menu fa-solid fa-bars" aria-hidden=true></i></span>
<span class=td-shell-aside-group__title>Content</span>
diff --git a/docs/quickstart/hugegraph/hugegraph-pd/index.md b/docs/quickstart/hugegraph/hugegraph-pd/index.md
index bc9223337..89e69454a 100644
--- a/docs/quickstart/hugegraph/hugegraph-pd/index.md
+++ b/docs/quickstart/hugegraph/hugegraph-pd/index.md
@@ -538,6 +538,8 @@ The two `log` endpoints take a time range as `{"startTime": "...", "endTime": ".
PD registers its own meters under the `hg` prefix, so `/actuator/prometheus` exposes `hg_up`, `hg_graphs`, `hg_stores` and `hg_terms` alongside the standard JVM metrics, plus per-graph partition and size meters once graphs exist.
+In versions after 1.7.0, PD also exports, for each registered store, `hg_store_state{store="<id>",state="<state>"}`, which is `1` for the store's current state (`Unknown`, `Pending`, `Up`, `Offline`, `Exiting` or `Tombstone`) and `0` for the others, and `hg_store_leader_count{store="<id>"}`, the number of shard groups whose leader is on that store. A rebuilt Store reports `0` leaders until leadership moves back to it. Every PD member reads the same replicated metadata, so select one inst [...]
+
---
Backlinks:
diff --git a/docs/quickstart/hugegraph/index.xml b/docs/quickstart/hugegraph/index.xml
index 322831700..8c8ade172 100644
--- a/docs/quickstart/hugegraph/index.xml
+++ b/docs/quickstart/hugegraph/index.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>HugeGraph (OLTP) on Apache HugeGraph</title><link>https://hugegraph.apache.org/docs/quickstart/hugegraph/</link><description>Recent content in HugeGraph (OLTP) on Apache HugeGraph</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sat, 17 Oct 2026 01:37:53 +0800</lastBuildDate><atom:link href="https://hugegraph.apache.org/docs/qu [...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>HugeGraph (OLTP) on Apache HugeGraph</title><link>https://hugegraph.apache.org/docs/quickstart/hugegraph/</link><description>Recent content in HugeGraph (OLTP) on Apache HugeGraph</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sat, 17 Oct 2026 15:10:42 +0530</lastBuildDate><atom:link href="https://hugegraph.apache.org/docs/qu [...]
\ No newline at end of file
diff --git a/en/sitemap.xml b/en/sitemap.xml
index b7b2a60a2..385e01b17 100644
--- a/en/sitemap.xml
+++ b/en/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://hugegraph.apache.org/docs/guides/architectural/</loc><lastmod>2026-09-30T16:53:26+08:00</lastmod><xhtml:link rel="alternate" hreflang="en-US" href="https://hugegraph.apache.org/docs/guides/architectural/"/><xhtml:link rel="alternate" hreflang="zh-CN" href="https://hugegraph.apache.org/cn/docs/guides/architectural/" [...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://hugegraph.apache.org/docs/guides/architectural/</loc><lastmod>2026-09-30T16:53:26+08:00</lastmod><xhtml:link rel="alternate" hreflang="en-US" href="https://hugegraph.apache.org/docs/guides/architectural/"/><xhtml:link rel="alternate" hreflang="zh-CN" href="https://hugegraph.apache.org/cn/docs/guides/architectural/" [...]
\ No newline at end of file
diff --git a/index.xml b/index.xml
index ebb14cc6d..08c747e84 100644
--- a/index.xml
+++ b/index.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Apache HugeGraph</title><link>https://hugegraph.apache.org/</link><description>Recent content on Apache HugeGraph</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sat, 17 Oct 2026 01:37:53 +0800</lastBuildDate><atom:link href="https://hugegraph.apache.org/index.xml" rel="self" type="application/rss+xml"/><item><title>HugeGraph [...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Apache HugeGraph</title><link>https://hugegraph.apache.org/</link><description>Recent content on Apache HugeGraph</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sat, 17 Oct 2026 15:10:42 +0530</lastBuildDate><atom:link href="https://hugegraph.apache.org/index.xml" rel="self" type="application/rss+xml"/><item><title>HugeGraph [...]
\ No newline at end of file