You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hugegraph.apache.org by "bitflicker64 (via GitHub)" <gi...@apache.org> on 2026/09/05 19:03:45 UTC

[PR] doc(server): sync server-core with master [hugegraph-doc]

bitflicker64 opened a new pull request, #488:
URL: https://github.com/apache/hugegraph-doc/pull/488

   Syncs the server-core docs (en and cn) against `apache/hugegraph` master at `36811483a` (1.7.0).
   Every default and allowed value below was read from the Options class or the conf template the
   server actually reads, not from the previous doc text.
   
   | page | what was wrong | what changed | source (file:line on master) |
   |------|----------------|--------------|------------------------------|
   | config/config-option.md | `store.schema`, `store.system`, `raft.endpoint`, `raft.use_snapshot` documented as graph options, but no such keys exist | removed the four rows | `hugegraph-server/hugegraph-core/.../config/CoreOptions.java` (no such options; absent from the whole tree) |
   | config/config-option.md | `raft.group_peers` listed under the graph properties file | moved to the Rest Server table with its real default `127.0.0.1:8090` | `hugegraph-server/hugegraph-api/.../config/ServerOptions.java:585` |
   | config/config-option.md | `raft.path` default `./raft-log` | `./raftlog` | `CoreOptions.java:108` |
   | config/config-option.md | `raft.rpc_timeout` default `60000` and no unit | `60`, described as seconds | `CoreOptions.java:229` |
   | config/config-option.md | `raft.rpc_threads` default `80` | `max(CPUs * 2, 80)` | `CoreOptions.java:213` |
   | config/config-option.md | `oltp.concurrent_threads` default `10` | `max(10, CPUs / 2)` | `CoreOptions.java:403` |
   | config/config-option.md | `computer.config` default `/conf/computer.yaml` | `./conf/computer.yaml` | `CoreOptions.java:630` |
   | config/config-option.md | `store` described as "the database name like Cassandra Keyspace" | "The backend database namespace." | `CoreOptions.java:64` |
   | config/config-option.md | `backend` default `rocksdb`, `serializer` default `binary` and its allowed values listed cassandra/mysql | option defaults `memory` and `text`, with a note that the shipped graph templates set `rocksdb`/`hstore` and `binary`; serializer values are text/binary/binaryscatter plus backend-registered ones | `CoreOptions.java:49,78`, `backend/serializer/SerializerFactory.java`, `hugegraph-dist/src/assembly/static/conf/graphs/hugegraph.properties:22-27` |
   | config/config-option.md | `search.text_analyzer` and `_mode` listed a `word` analyzer and its modes | removed; the seven analyzers on master are ansj, hanlp, smartcn, jieba, jcseg, mmseg4j, ikanalyzer | `analyzer/AnalyzerFactory.java:36-53`, `CoreOptions.java:603,613` |
   | config/config-option.md | 26 CoreOptions keys undocumented | added `serializer.buffer_max_capacity`, `schema.init_template`, `schema.index_rebuild_using_pushdown`, `query.trust_index`, `query.max_indexes_available`, `query.dedup_option`, `oltp.query_batch_size`, `oltp.query_batch_avg_degree_ratio`, `oltp.query_batch_expect_degree`, `task.schedule_period`, `task.retry`, `k8s.operator_template`, `k8s.quota_template`, `pd.peers`, `graphspace`, `alias.graph.id`, `graph.read_mode`, the four `memory.*` keys and the five missing `raft.snapshot*`/`raft.install_snapshot_rpc_timeout` keys | `CoreOptions.java:85,701,534,56,709,717,429,437,446,281,326,637,644,650,681,688,694,656-674,139-160,237` |
   | config/config-option.md | the raft options were presented as current | grouped into a collapsed block noting the shipped templates mark them deprecated | `conf/graphs/hugegraph.properties:59-61` |
   | config/config-option.md | `server.id` described as "used for license verification" | "The optional legacy id of hugegraph-server." | `ServerOptions.java` (SERVER_ID) |
   | config/config-option.md | `gremlinserver.max_route` default `8` | `2 * CPUs` | `ServerOptions.java` (GREMLIN_SERVER_MAX_ROUTE) |
   | config/config-option.md | `auth.cache_expire` described as "expiration time of vertex cache" | "The expiration time in seconds of auth cache in auth client and auth server." | `hugegraph-server/hugegraph-core/.../config/AuthOptions.java` (AUTH_CACHE_EXPIRE) |
   | config/config-option.md | 12 rest-server keys undocumented | added `graphs.enable_dynamic_create_drop`, `init_store.enabled`, `server.role_election`, `server.node_id`, `server.node_role`, `server.graphspace`, `server.service_id`, `server.path_graphspace`, `server.start_ignore_single_graph_error`, `server.event_hub_threads`, `restserver.task_threads`, `white_ip.status` | `ServerOptions.java` |
   | config/config-option.md | RoleElectionOptions was not documented at all | added a collapsed block with the six `server.role.*` keys | `hugegraph-server/hugegraph-core/.../masterelection/RoleElectionOptions.java` |
   | config/config-option.md | PD/Meta section had only three keys | added `cluster`, `metrics.data_to_pd`, `meta.use_ca`, `meta.ca`, `meta.client_ca`, `meta.client_key`, plus `hstore.partition_count` and `hstore.shard_count` from the graph file | `ServerOptions.java`, `hugegraph-server/hugegraph-hstore/.../HstoreOptions.java:27-38` |
   | config/config-option.md | K8s block had three keys | expanded to the full k8s/PD-service set from ServerOptions | `ServerOptions.java` |
   | config/config-option.md | `rocksdb.cache_index_and_filter_blocks`, `rocksdb.pin_l0_filter_and_index_blocks_in_cache`, `rocksdb.optimize_filters_for_hits` documented as `false` | all three are `true` | `hugegraph-server/hugegraph-rocksdb/.../RocksDBOptions.java:614,623,662` |
   | config/config-option.md | compression defaults given as Java enum names (`SNAPPY_COMPRESSION`, `NO_COMPRESSION`) | the config values the server accepts: `snappy`, `none`, `[none, none, snappy, snappy, snappy, snappy, snappy]` | `RocksDBOptions.java:141,151,161` |
   | config/config-option.md | `rocksdb.option_path` and `rocksdb.open_http` documented (ToplingDB) | removed; neither key exists in `RocksDBOptions` or anywhere else in the tree at this commit | `RocksDBOptions.java` |
   | config/config-option.md | 23 RocksDBOptions keys undocumented | added the block/table, memtable, sync and filter-partitioning options (`rocksdb.block_size`, `index_type`, `format_version`, `bytes_per_sync`, `row_cache_capacity`, `memtable_*`, `partition_filters_and_indexes`, `prefix_extractor_n_bytes`, and the rest) | `RocksDBOptions.java` |
   | config/config-option.md | `hbase.krb5_conf` default `etc/krb5.conf`, `hbase.truncate_timeout` missing | `/etc/krb5.conf`, added `hbase.truncate_timeout=30` | `hugegraph-server/hugegraph-hbase/.../HbaseOptions.java` |
   | config/config-option.md (cn only) | the Arthas block was duplicated, the HBase block was nested inside it so it never rendered as its own section, and the first Arthas block was missing `arthas.disabledCommands` | de-duplicated, un-nested, row added | `ServerOptions.java` (ARTHAS_DISABLED_COMMANDS) |
   | config/config-option.md | RPC block existed only on the cn page and was missing `rpc.serialization` | added the block to the en page and `rpc.serialization=hessian2` to both | `hugegraph-commons/hugegraph-rpc/.../config/RpcOptions.java` |
   | config/config-option.md | Gremlin Server section listed six keys | added `maxContentLength`, `maxChunkSize`, `maxHeaderSize`, `resultIterationBatchSize`, `ssl.enabled` | `hugegraph-dist/src/assembly/static/conf/gremlin-server.yaml:117-127` |
   | guides/custom-plugin.md | `RocksDBStoreProvider` sample used `newSchemaStore(String)`, `newGraphStore(String)` and `version()` returning `1.0` | signatures now take `HugeConfig`, `newSystemStore` added, `driverVersion()` returns `1.11` | `hugegraph-rocksdb/.../RocksDBStoreProvider.java` |
   | guides/custom-plugin.md | `BackendStore` listing was missing nine methods and had `clear()` instead of `clear(boolean)` | listing rebuilt from the interface | `hugegraph-core/.../backend/store/BackendStore.java` |
   | guides/custom-plugin.md | `GraphSerializer` listing was missing `writeOlapVertex` and `readEdges` | added; `public` modifiers dropped to match the interfaces | `hugegraph-core/.../backend/serializer/GraphSerializer.java` |
   | guides/custom-plugin.md | `RocksDBOptions` sample had `rocksdb-data` paths and the old `graph/*` data_disks keys | `rocksdb-data/data`, `rocksdb-data/wal` and the current `g/*` key list | `RocksDBOptions.java` (DATA_PATH, WAL_PATH, DATA_DISKS) |
   | guides/custom-plugin.md | `DemoPlugin` sample omitted `supportsMinVersion`/`supportsMaxVersion`, which the loader requires | both methods added to the sample | `hugegraph-dist/.../dist/RegisterUtil.java` (registerPlugins) |
   | guides/custom-plugin.md | "8 built-in Chinese word breakers" | 7, named | `analyzer/AnalyzerFactory.java:36-53` |
   | guides/faq.md | error text and limits: `Id max length is 128`, edge id 32768, index id 128 | `The max length of vertex id is 16384` / `edge id is 65536`; index ids over 32 bytes are hashed | `backend/serializer/BytesBuffer.java:63-64,76`, `structure/HugeVertex.java:186-195`, `structure/HugeEdge.java:158-163` |
   | guides/faq.md | "An `EdgeLabel` does not support connecting multiple pairs of `VertexLabels`" | it does: `link()` accumulates pairs; `sourceLabel()`/`targetLabel()` are deprecated single-pair methods | `schema/builder/EdgeLabelBuilder.java:411-418`, `schema/EdgeLabel.java:203-212,254-257` |
   | guides/faq.md | the graph clear answer did not give the confirmation string | added `?confirm_message=I'm sure to delete all data` | `hugegraph-api/.../api/profile/GraphsAPI.java:79,589-603` |
   | guides/desgin-concept.md | "supports three ID strategies" while listing four, and `CUSTOMIZE_UUID` was absent | four strategies, `CUSTOMIZE_UUID` and a `useCustomizeUuidId()` example added | `type/define/IdStrategy.java`, `schema/VertexLabel.java:122`, `schema/builder/VertexLabelBuilder.java:323` |
   | guides/desgin-concept.md (en) | the self-loop paragraph had lost its comparison clause, the sortKey bullets were garbled, the TinkerPop link was pasted twice, and one heading was a duplicate of the previous one | restored from the cn text, headings and link fixed | mirrors `content/cn/docs/guides/desgin-concept.md` |
   | guides/desgin-concept.md | atomicity example cited Cassandra, which 1.7.0 no longer supports | RocksDB only | `backend/store/BackendProviderFactory.java:44-45` (ALLOWED_BACKENDS) |
   | language/hugegraph-gremlin.md | Vertex features `UserSuppliedIds`, `StringIds`, `CustomIds`, `MultiProperties`, `DuplicateMultiProperties` shown as false | all five are true | `structure/HugeFeatures.java:116,136,240,250,256` |
   | language/hugegraph-gremlin.md | Edge features `StringIds` and `CustomIds` shown as false; `UniformListValues` shown as false | all true | `structure/HugeFeatures.java:116,136,349-356` |
   | language/hugegraph-gremlin.md | four step links pointed at the wrong anchor (`#add-step` for and, `#addedge-step` for count and path) and two URLs had stray dots (`apac.he.org`, `docs/c.urrent`) | anchors and URLs corrected; the `V` row is now labelled "vertex steps" | tinkerpop reference anchors |
   | language/hugegraph-example.md | the relationship table listed five edges while the text and the schema below it use six | `battled` row added with its `time` property | the page's own `2.1 Graph Schema` block |
   | language/hugegraph-example.md | "each edge label can only act on one pair of source and target vertex labels" | corrected the same way as the FAQ entry | `schema/builder/EdgeLabelBuilder.java:411-418` |
   | language/hugegraph-example.md | the "pluto is not his own cohabitant" snippet had unbalanced parentheses | `where(is(neq(pluto))).values('name')` | Gremlin syntax |
   
   Verified with no change needed: `guides/architectural.md` (backend list already matches `ALLOWED_BACKENDS`, all internal links resolve) and the six frozen benchmark reports under `performance/` (all images and links resolve; numbers untouched).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


Re: [PR] doc(server): sync server-core with master [hugegraph-doc]

Posted by "bitflicker64 (via GitHub)" <gi...@apache.org>.
bitflicker64 commented on code in PR #488:
URL: https://github.com/apache/hugegraph-doc/pull/488#discussion_r3943320425


##########
content/en/docs/guides/faq.md:
##########
@@ -75,23 +75,23 @@ weight: 6
 
 - How to delete all data from a graph
 
-  An administrator can call `DELETE /graphspaces/{graphspace}/graphs/{graph}/clear`. The request must include the `confirm_message` required by the source code; see the [Graph API](../clients/restful-api/graphs) for the exact format. This operation removes schemas, vertices, edges, and indexes.
+  An administrator can call `DELETE /graphspaces/{graphspace}/graphs/{graph}/clear?confirm_message=I'm sure to delete all data`. The `confirm_message` query parameter must match that value exactly, otherwise the request is rejected. See the [Graph API](../clients/restful-api/graphs) for details. This operation removes schemas, vertices, edges, and indexes.

Review Comment:
   🧹 Spelling out the confirmation string is a real improvement over the old "see the Graph API" pointer, and the value matches `GraphsAPI.CONFIRM_CLEAR`. But the URL as written carries five raw spaces and an apostrophe:
   
   ```
   DELETE /graphspaces/{graphspace}/graphs/{graph}/clear?confirm_message=I'm sure to delete all data
   ```
   
   Pasted into `curl` that either breaks on the quote or truncates at the first space, and the server check is an exact match:
   
   ```java
   // api/profile/GraphsAPI.java:604
   E.checkArgument(CONFIRM_CLEAR.equals(message), "Please take the message: %s", CONFIRM_CLEAR);
   ```
   
   so a partially-transmitted value just fails. Could you show the percent-encoded form in the URL, `?confirm_message=I%27m%20sure%20to%20delete%20all%20data`, and keep the plain sentence in the surrounding prose? Same line on `content/cn/docs/guides/faq.md:78`.



##########
content/en/docs/config/config-option.md:
##########
@@ -13,205 +13,317 @@ search_boost: 1.5
 
 Corresponding configuration file `gremlin-server.yaml`
 
-| config option           | default value                                                                                                | description                                                                     |
-|-------------------------|--------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------|
-| host                    | 127.0.0.1                                                                                                    | The host or ip of Gremlin Server.                                               |
-| port                    | 8182                                                                                                         | The listening port of Gremlin Server.                                           |
-| graphs                  | {}                                                                                                           | Graphs are loaded dynamically by the Server; do not configure them here.        |
-| evaluationTimeout       | 30000                                                                                                        | Gremlin script evaluation timeout in milliseconds.                              |
-| channelizer             | org.apache.tinkerpop.gremlin.server.channel.WsAndHttpChannelizer                                             | Handles both WebSocket and HTTP requests.                                       |
-| authentication          | Not configured                                                                                               | When enabling authentication, configure the authenticator, handler, and path to `rest-server.properties`. |
+| config option             | default value                                                                                                | description                                                                     |
+|---------------------------|--------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------|
+| host                      | 127.0.0.1                                                                                                    | The host or ip of Gremlin Server.                                               |
+| port                      | 8182                                                                                                         | The listening port of Gremlin Server.                                           |
+| graphs                    | {}                                                                                                           | Graphs are loaded dynamically by the Server; do not configure them here.        |
+| evaluationTimeout         | 30000                                                                                                        | Gremlin script evaluation timeout in milliseconds.                              |
+| channelizer               | org.apache.tinkerpop.gremlin.server.channel.WsAndHttpChannelizer                                             | Handles both WebSocket and HTTP requests.                                       |
+| maxContentLength          | 65536                                                                                                        | Maximum size in bytes of a request that the server accepts.                      |
+| maxChunkSize              | 8192                                                                                                         | Maximum chunk size in bytes of an HTTP request.                                  |
+| maxHeaderSize             | 8192                                                                                                         | Maximum size in bytes of the HTTP request headers.                               |
+| resultIterationBatchSize  | 64                                                                                                           | Number of results returned per batch when streaming a result set.                |
+| ssl.enabled               | false                                                                                                        | Whether Gremlin Server serves over TLS.                                          |
+| authentication            | Not configured                                                                                               | When enabling authentication, configure the authenticator, handler, and path to `rest-server.properties`. |
 
 ### Rest Server & API Config Options
 
 Corresponding configuration file `rest-server.properties`
 
-| config option                      | default value                                    | description                                                                                                                                                                                                   |
-|------------------------------------|--------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| graphs                             | ./conf/graphs                                    | Directory containing graph configuration properties files.                                                                                                                                                    |
-| graph.load_from_local_config       | false                                            | Whether to read the `graphs` directory when the Server starts; set to `true` when using local graph configuration.                                                                                            |
-| server.id                          | Empty string                                     | The id of rest server, used for license verification.                                                                                                                                                         |
-| server.role                        | master                                           | The role of nodes in the cluster, available types are [master, worker, computer]                                                                                                                              |
-| restserver.url                     | http://127.0.0.1:8080                            | The url for listening of rest server.                                                                                                                                                                         |
-| ssl.keystore_file                  | conf/hugegraph-server.keystore                   | The path of server keystore file used when https protocol is enabled.                                                                                                                                         |
-| ssl.keystore_password              | hugegraph                                        | The password of the server keystore file used when the https protocol is enabled.                                                                                                                             |
-| restserver.max_worker_threads      | 2 * CPUs                                         | The maximum worker threads of rest server.                                                                                                                                                                    |
-| restserver.min_free_memory         | 64                                               | The minimum free memory(MB) of rest server, requests will be rejected when the available memory of system is lower than this value.                                                                           |
-| restserver.request_timeout         | 30                                               | The time in seconds within which a request must complete, -1 means no timeout.                                                                                                                                |
-| restserver.connection_idle_timeout | 30                                               | The time in seconds to keep an inactive connection alive, -1 means no timeout.                                                                                                                                |
-| restserver.connection_max_requests | 256                                              | The max number of HTTP requests allowed to be processed on one keep-alive connection, -1 means unlimited.                                                                                                     |
-| gremlinserver.url                  | http://127.0.0.1:8182                            | The url of gremlin server.                                                                                                                                                                                    |
-| gremlinserver.max_route            | 8                                                | The max route number for gremlin server.                                                                                                                                                                      |
-| gremlinserver.timeout              | 30                                               | The timeout in seconds of waiting for gremlin server.                                                                                                                                                         |
-| batch.max_edges_per_batch          | 2500                                             | The maximum number of edges submitted per batch.                                                                                                                                                              |
-| batch.max_vertices_per_batch       | 2500                                             | The maximum number of vertices submitted per batch.                                                                                                                                                           |
-| batch.max_write_ratio              | 70                                               | The maximum thread ratio for batch writing, only take effect if the batch.max_write_threads is 0.                                                                                                             |
-| batch.max_write_threads            | 0                                                | The maximum threads for batch writing, if the value is 0, the actual value will be set to batch.max_write_ratio * restserver.max_worker_threads.                                                              |
-| auth.authenticator                 |                                                  | The class path of authenticator implementation. e.g., org.apache.hugegraph.auth.StandardAuthenticator, or a custom implementation.                                                        |
-| auth.graph_store                   | hugegraph                                        | The name of graph used to store authentication information, like users, only for org.apache.hugegraph.auth.StandardAuthenticator.                                                                              |
-| auth.admin_pa                      | pa                                               | Initial password for the built-in admin user in PD mode. It only applies when the user is first created and must be changed before deployment.                                                                 |
-| auth.audit_log_rate                | 1000.0                                           | The max rate of audit log output per user, default value is 1000 records per second.                                                                                                                          |
-| auth.cache_capacity                | 10240                                            | The max cache capacity of each auth cache item.                                                                                                                                                               |
-| auth.cache_expire                  | 600                                              | The expiration time in seconds of vertex cache.                                                                                                                                                               |
-| auth.remote_url                    |                                                  | If the address is empty, it provide auth service, otherwise it is auth client and also provide auth service through rpc forwarding. The remote url can be set to multiple addresses, which are concat by ','. |
-| auth.token_expire                  | 86400                                            | The expiration time in seconds after token created                                                                                                                                                            |
-| auth.token_secret                  | Randomly generated at startup                    | HS256 secret; configure it explicitly if existing tokens must remain valid across restarts.                                                                                                                   |
-| exception.allow_trace              | true                                             | Whether to allow exception trace stack.                                                                                                                                                                       |
-| memory_monitor.threshold           | 0.85                                             | The threshold of JVM(in-heap) memory usage monitoring , 1 means disabling this function.                                                                                                                      |
-| memory_monitor.period              | 2000                                             | The period in ms of JVM(in-heap) memory usage monitoring.                                                                                                                                                     |
-| log.slow_query_threshold           | 1000                                             | Slow query log threshold in milliseconds, 0 means disabled.                                                                                                                                                   |
-| log.slow_query_body_limit          | 512                                              | Maximum bytes of a request body recorded in the slow query log, 0 means disabled. The recorded prefix may contain sensitive Gremlin or Cypher literals.                                                       |
+| config option                          | default value                                    | description                                                                                                                                                                                                   |
+|----------------------------------------|--------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| graphs                                 | ./conf/graphs                                    | Directory containing graph configuration properties files.                                                                                                                                                    |
+| graph.load_from_local_config           | false                                            | Whether to read the `graphs` directory when the Server starts; set to `true` when using local graph configuration.                                                                                            |
+| graphs.enable_dynamic_create_drop      | true                                             | Whether to enable create or drop graph dynamically.                                                                                                                                                           |
+| init_store.enabled                     | true                                             | Whether init-store initializes the local backend stores and the built-in admin account. Set false in distributed deployments (PD/HStore) where the storage side already owns the metadata.                     |
+| server.id                              | Empty string                                     | The optional legacy id of hugegraph-server.                                                                                                                                                                   |
+| server.role                            | master                                           | The role of nodes in the cluster, available types are [master, worker, computer]                                                                                                                              |
+| server.role_election                   | false                                            | Whether to enable role election, if enabled, the server will elect a master node in the cluster.                                                                                                               |
+| server.node_id                         | node-id1                                         | The node id of the server.                                                                                                                                                                                    |
+| server.node_role                       | worker                                           | The node role of the server.                                                                                                                                                                                  |
+| server.graphspace                       | DEFAULT                                          | The graph space of the server.                                                                                                                                                                                |
+| server.service_id                      | DEFAULT                                          | The service id of the server.                                                                                                                                                                                 |
+| server.path_graphspace                 | DEFAULT                                          | The default path graph space of the server.                                                                                                                                                                   |
+| server.start_ignore_single_graph_error | true                                             | Whether to start ignore single graph error.                                                                                                                                                                   |
+| server.event_hub_threads               | 1                                                | The event hub threads of server.                                                                                                                                                                              |
+| restserver.url                         | http://127.0.0.1:8080                            | The url for listening of graph server.                                                                                                                                                                        |
+| ssl.keystore_file                      | conf/hugegraph-server.keystore                   | The path of server keystore file used when https protocol is enabled.                                                                                                                                         |
+| ssl.keystore_password                  | hugegraph                                        | The password of the server keystore file when the https protocol is enabled.                                                                                                                                   |
+| white_ip.status                        | disable                                          | The status of whether enable white ip.                                                                                                                                                                        |
+| restserver.max_worker_threads          | 2 * CPUs                                         | The maximum worker threads of rest server.                                                                                                                                                                    |
+| restserver.task_threads                | max(4, CPUs / 2)                                 | The task threads of rest server.                                                                                                                                                                              |
+| restserver.min_free_memory             | 64                                               | The minimum free memory(MB) of rest server, requests will be rejected when the available memory of system is lower than this value.                                                                           |
+| restserver.request_timeout             | 30                                               | The time in seconds within which a request must complete, -1 means no timeout.                                                                                                                                |
+| restserver.connection_idle_timeout     | 30                                               | The time in seconds to keep an inactive connection alive, -1 means no timeout.                                                                                                                                |
+| restserver.connection_max_requests     | 256                                              | The max number of HTTP requests allowed to be processed on one keep-alive connection, -1 means unlimited.                                                                                                     |
+| gremlinserver.url                      | http://127.0.0.1:8182                            | The url of gremlin server.                                                                                                                                                                                    |
+| gremlinserver.max_route                | 2 * CPUs                                         | The max route number for gremlin server.                                                                                                                                                                      |
+| gremlinserver.timeout                  | 30                                               | The timeout in seconds of waiting for gremlin server.                                                                                                                                                         |
+| batch.max_edges_per_batch              | 2500                                             | The maximum number of edges submitted per batch.                                                                                                                                                              |
+| batch.max_vertices_per_batch           | 2500                                             | The maximum number of vertices submitted per batch.                                                                                                                                                          |
+| batch.max_write_ratio                  | 70                                               | The maximum thread ratio for batch writing, only take effect if the batch.max_write_threads is 0.                                                                                                             |
+| batch.max_write_threads                | 0                                                | The maximum threads for batch writing, if the value is 0, the actual value will be set to batch.max_write_ratio * restserver.max_worker_threads.                                                              |
+| raft.group_peers                       | 127.0.0.1:8090                                   | The rpc address of raft group initial peers.                                                                                                                                                                  |
+| auth.authenticator                     |                                                  | The class path of authenticator implementation. e.g., org.apache.hugegraph.auth.StandardAuthenticator, or a custom implementation.                                                        |
+| auth.graph_store                       | hugegraph                                        | The name of graph used to store authentication information, like users, only for org.apache.hugegraph.auth.StandardAuthenticator.                                                                              |
+| auth.admin_pa                          | pa                                               | The default password for built-in admin account, takes effect on first startup. It must be changed before deployment.                                                                                          |
+| auth.audit_log_rate                    | 1000.0                                           | The max rate of audit log output per user, default value is 1000 records per second.                                                                                                                          |
+| auth.cache_capacity                    | 10240                                            | The max cache capacity of each auth cache item.                                                                                                                                                               |
+| auth.cache_expire                      | 600                                              | The expiration time in seconds of auth cache in auth client and auth server.                                                                                                                                  |
+| auth.remote_url                        |                                                  | If the address is empty, it provide auth service, otherwise it is auth client and also provide auth service through rpc forwarding. The remote url can be set to multiple addresses, which are concat by ','. |
+| auth.token_expire                      | 86400                                            | The expiration time in seconds after token created                                                                                                                                                            |
+| auth.token_secret                      | Randomly generated at startup                    | HS256 secret; configure it explicitly if existing tokens must remain valid across restarts.                                                                                                                   |
+| exception.allow_trace                  | true                                             | Whether to allow exception trace stack.                                                                                                                                                                       |
+| memory_monitor.threshold               | 0.85                                             | Threshold for JVM memory usage monitoring, 1 means disabling the memory monitoring task.                                                                                                                      |
+| memory_monitor.period                  | 2000                                             | The period in ms of JVM memory usage monitoring, in each period we will detect the jvm memory usage and take corresponding actions.                                                                            |
+| log.slow_query_threshold               | 1000                                             | The threshold time(ms) of logging slow query, 0 means logging slow query is disabled.                                                                                                                          |
+| log.slow_query_body_limit              | 512                                              | The max bytes of request body recorded in the slow query log, 0 means the body is not recorded. The recorded prefix is written as-is and may contain sensitive Gremlin or Cypher literals.                      |
+
+> [!DETAILS]- **Role Election Config Options (Optional)**
+> Corresponding configuration file `rest-server.properties`, only used when `server.role_election=true`.
+>
+> | config option                  | default value         | description                                                                                                                                                                    |
+> |--------------------------------|-----------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+> | server.role.node_external_url  | http://127.0.0.1:8080 | The url of external accessibility.                                                                                                                                             |
+> | server.role.base_timeout       | 500                   | The role state machine candidate state base timeout time, in ms.                                                                                                                |
+> | server.role.random_timeout     | 1000                  | The random timeout in ms that be used when candidate node request to become master state to reduce competitive voting.                                                          |
+> | server.role.heartbeat_interval | 2                     | The role state machine heartbeat interval second time.                                                                                                                         |
+> | server.role.fail_count         | 5                     | When the node failed count of update or query heartbeat is reaches this threshold, the node will become abdication state to guardsafe property.                                 |
+> | server.role.master_dead_times  | 10                    | When the worker node detects that the number of times the master node fails to update heartbeat reaches this threshold, the worker node will become to a candidate node.        |
 
 ### PD/Meta Config Options (Distributed Mode)
 
 Corresponding configuration file `rest-server.properties`
 
-| config option    | default value          | description                                |
-|------------------|------------------------|--------------------------------------------|
-| pd.peers         | 127.0.0.1:8686         | PD server addresses (comma separated).     |
-| meta.endpoints   | http://127.0.0.1:2379  | Meta service endpoints.                    |
-| usePD            | false                   | Whether to use PD to manage distributed metadata. |
+| config option        | default value         | description                                                     |
+|----------------------|-----------------------|-----------------------------------------------------------------|
+| usePD                | false                 | Whether use pd.                                                 |
+| pd.peers             | 127.0.0.1:8686        | The pd server peers, separated with commas.                     |
+| cluster              | hg-test               | The cluster name.                                               |
+| metrics.data_to_pd   | true                  | Whether to report metrics data to pd.                           |
+| meta.endpoints       | http://127.0.0.1:2379 | The URL of meta endpoints. No code reads this option, so setting it has no effect; the meta connection is built from `pd.peers`. |
+| meta.use_ca          | false                 | Whether to use ca to meta server.                               |
+| meta.ca              |                       | The ca file of meta server.                                     |
+| meta.client_ca       |                       | The client ca file of meta server.                              |
+| meta.client_key      |                       | The client key file of meta server.                             |
+
+The HStore backend also reads two options from the graph configuration file `{graph-name}.properties`. Both default to
+0, which means the value is decided by PD:
+
+| config option           | default value | description                                                     |
+|-------------------------|---------------|-----------------------------------------------------------------|
+| hstore.partition_count  | 0             | Number of partitions, which PD controls partitions based on.    |
+| hstore.shard_count      | 0             | Number of copies, which PD controls partition copies based on.  |
 
 ### Basic Config Options
 
 Basic Config Options and Backend Config Options correspond to configuration files:{graph-name}.properties, such as `hugegraph.properties`
 
-| config option                         | default value                                | description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
-|---------------------------------------|----------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| gremlin.graph                         | org.apache.hugegraph.HugeFactory              | Gremlin entrance to create graph.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
-| backend                               | rocksdb                                      | The data store type. For version 1.7.0+: [memory, rocksdb, hstore, hbase]. Note: cassandra, scylladb, mysql, postgresql were removed in 1.7.0 (use <= 1.5.x for legacy backends).                                                                                                                                                                                                                                                                                                                                                                                                              |
-| serializer                            | binary                                       | The serializer for backend store, available values are [text, binary, cassandra, hbase, mysql].                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
-| store                                 | hugegraph                                    | The database name like Cassandra Keyspace.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
-| store.connection_detect_interval      | 600                                          | The interval in seconds for detecting connections, if the idle time of a connection exceeds this value, detect it and reconnect if needed before using, value 0 means detecting every time.                                                                                                                                                                                                                                                                                                                                                                                                      |
-| store.graph                           | g                                            | The graph table name, which store vertex, edge and property.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
-| store.schema                          | m                                            | The schema table name, which store meta data.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
-| store.system                          | s                                            | The system table name, which store system data.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
-| schema.illegal_name_regex             | .*\s+$&#124;~.*                              | The regex specified the illegal format for schema name.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
-| schema.cache_capacity                 | 10000                                        | The max cache size(items) of schema cache.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
-| vertex.cache_type                     | l2                                           | The type of vertex cache, allowed values are [l1, l2].                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
-| vertex.cache_capacity                 | 10000000                                     | The max cache size(items) of vertex cache.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
-| vertex.cache_expire                   | 600                                          | The expire time in seconds of vertex cache.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
-| vertex.check_customized_id_exist      | false                                        | Whether to check the vertices exist for those using customized id strategy.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
-| vertex.default_label                  | vertex                                       | The default vertex label.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
-| vertex.tx_capacity                    | 10000                                        | The max size(items) of vertices(uncommitted) in transaction.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
-| vertex.check_adjacent_vertex_exist    | false                                        | Whether to check the adjacent vertices of edges exist.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
-| vertex.lazy_load_adjacent_vertex      | true                                         | Whether to lazy load adjacent vertices of edges.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
-| vertex.part_edge_commit_size          | 5000                                         | Whether to enable the mode to commit part of edges of vertex, enabled if commit size > 0, 0 means disabled.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
-| vertex.encode_primary_key_number      | true                                         | Whether to encode number value of primary key in vertex id.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
-| vertex.remove_left_index_at_overwrite | false                                        | Whether remove left index at overwrite.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
-| edge.cache_type                       | l2                                           | The type of edge cache, allowed values are [l1, l2].                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
-| edge.cache_capacity                   | 1000000                                      | The max cache size(items) of edge cache.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
-| edge.cache_expire                     | 600                                          | The expiration time in seconds of edge cache.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
-| edge.tx_capacity                      | 10000                                        | The max size(items) of edges(uncommitted) in transaction.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
-| query.page_size                       | 500                                          | The size of each page when querying by paging.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
-| query.batch_size                      | 1000                                         | The size of each batch when querying by batch.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
-| query.ignore_invalid_data             | true                                         | Whether to ignore invalid data of vertex or edge.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
-| query.index_intersect_threshold       | 1000                                         | The maximum number of intermediate results to intersect indexes when querying by multiple single index properties.                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
-| query.ramtable_edges_capacity         | 20000000                                     | The maximum number of edges in ramtable, include OUT and IN edges.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
-| query.ramtable_enable                 | false                                        | Whether to enable ramtable for query of adjacent edges.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
-| query.ramtable_vertices_capacity      | 10000000                                     | The maximum number of vertices in ramtable, generally the largest vertex id is used as capacity.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
-| query.optimize_aggregate_by_index     | false                                        | Whether to optimize aggregate query(like count) by index.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
-| oltp.concurrent_depth                 | 10                                           | The min depth to enable concurrent oltp algorithm.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
-| oltp.concurrent_threads               | 10                                           | Thread number to concurrently execute oltp algorithm.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
-| oltp.collection_type                  | EC                                           | The implementation type of collections used in oltp algorithm.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
-| rate_limit.read                       | 0                                            | The max rate(times/s) to execute query of vertices/edges.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
-| rate_limit.write                      | 0                                            | The max rate(items/s) to add/update/delete vertices/edges.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
-| task.wait_timeout                     | 10                                           | Timeout in seconds for waiting for the task to complete,such as when truncating or clearing the backend.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
-| task.input_size_limit                 | 16777216                                     | The job input size limit in bytes.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
-| task.result_size_limit                | 16777216                                     | The job result size limit in bytes.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
-| task.sync_deletion                    | false                                        | Whether to delete schema or expired data synchronously.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
-| task.ttl_delete_batch                 | 1                                            | The batch size used to delete expired data.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
-| computer.config                       | /conf/computer.yaml                          | The config file path of computer job.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
-| search.text_analyzer                  | ikanalyzer                                   | Choose a text analyzer for searching the vertex/edge properties, available type are [word, ansj, hanlp, smartcn, jieba, jcseg, mmseg4j, ikanalyzer]. if use 'ikanalyzer', need download jar from 'https://github.com/apache/hugegraph-doc/raw/ik_binary/dist/server/ikanalyzer-2012_u6.jar' to lib directory                                                                                                                                                                                                                                                                                     |
-| search.text_analyzer_mode             | smart                                        | Specify the mode for the text analyzer, the available mode of analyzer are {word: [MaximumMatching, ReverseMaximumMatching, MinimumMatching, ReverseMinimumMatching, BidirectionalMaximumMatching, BidirectionalMinimumMatching, BidirectionalMaximumMinimumMatching, FullSegmentation, MinimalWordCount, MaxNgramScore, PureEnglish], ansj: [BaseAnalysis, IndexAnalysis, ToAnalysis, NlpAnalysis], hanlp: [standard, nlp, index, nShort, shortest, speed], smartcn: [], jieba: [SEARCH, INDEX], jcseg: [Simple, Complex], mmseg4j: [Simple, Complex, MaxWord], ikanalyzer: [smart, max_word]}. |
-| snowflake.datacenter_id               | 0                                            | The datacenter id of snowflake id generator.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
-| snowflake.force_string                | false                                        | Whether to force the snowflake long id to be a string.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
-| snowflake.worker_id                   | 0                                            | The worker id of snowflake id generator.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
-| raft.mode                             | false                                        | Whether the backend storage works in raft mode.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
-| raft.safe_read                        | false                                        | Whether to use linearly consistent read.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
-| raft.use_snapshot                     | false                                        | Whether to use snapshot.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
-| raft.endpoint                         | 127.0.0.1:8281                               | The peerid of current raft node.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
-| raft.group_peers                      | 127.0.0.1:8281,127.0.0.1:8282,127.0.0.1:8283 | The peers of current raft group.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
-| raft.path                             | ./raft-log                                   | The log path of current raft node.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
-| raft.use_replicator_pipeline          | true                                         | Whether to use replicator line, when turned on it multiple logs can be sent in parallel, and the next log doesn't have to wait for the ack message of the current log to be sent.                                                                                                                                                                                                                                                                                                                                                                                                                |
-| raft.election_timeout                 | 10000                                        | Timeout in milliseconds to launch a round of election.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
-| raft.snapshot_interval                | 3600                                         | The interval in seconds to trigger snapshot save.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
-| raft.backend_threads                  | current CPU v-cores                          | The thread number used to apply task to backend.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
-| raft.read_index_threads               | 8                                            | The thread number used to execute reading index.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
-| raft.apply_batch                      | 1                                            | The apply batch size to trigger disruptor event handler.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
-| raft.queue_size                       | 16384                                        | The disruptor buffers size for jraft RaftNode, StateMachine and LogManager.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
-| raft.queue_publish_timeout            | 60                                           | The timeout in second when publish event into disruptor.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
-| raft.rpc_threads                      | 80                                           | The rpc threads for jraft RPC layer.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
-| raft.rpc_connect_timeout              | 5000                                         | The rpc connect timeout for jraft rpc.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
-| raft.rpc_timeout                      | 60000                                        | The rpc timeout for jraft rpc.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
-| raft.rpc_buf_low_water_mark           | 10485760                                     | The ChannelOutboundBuffer's low water mark of netty, when buffer size less than this size, the method ChannelOutboundBuffer.isWritable() will return true, it means that low downstream pressure or good network.                                                                                                                                                                                                                                                                                                                                                                                |
-| raft.rpc_buf_high_water_mark          | 20971520                                     | The ChannelOutboundBuffer's high water mark of netty, only when buffer size exceed this size, the method ChannelOutboundBuffer.isWritable() will return false, it means that the downstream pressure is too great to process the request or network is very congestion, upstream needs to limit rate at this time.                                                                                                                                                                                                                                                                               |
-| raft.read_strategy                    | ReadOnlyLeaseBased                           | The linearizability of read strategy.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
+| config option                         | default value                                | description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
+|---------------------------------------|----------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| gremlin.graph                         | org.apache.hugegraph.HugeFactory              | Gremlin entrance to create graph.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
+| backend                               | memory                                       | The data store type. For version 1.7.0+ the allowed values are [memory, rocksdb, hstore, hbase]; the shipped `conf/graphs/hugegraph.properties` sets `rocksdb` and `conf/graphs/hstore.properties.template` sets `hstore`. Note: cassandra, scylladb, mysql, postgresql were removed in 1.7.0 (use <= 1.5.x for legacy backends).                                                                                                                                                                                                                                  |
+| serializer                            | text                                         | The serializer for backend store, built-in values are [text, binary, binaryscatter]; a backend may register its own, like `hbase`. The shipped graph templates set `binary`.                                                                                                                                                                                                                                                                                                                                                                                      |
+| serializer.buffer_max_capacity        | 134217728                                    | The process-wide max capacity of one serialization buffer in bytes.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
+| store                                 | hugegraph                                    | The backend database namespace.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
+| store.connection_detect_interval      | 600                                          | The interval in seconds for detecting connections, if the idle time of a connection exceeds this value, detect it and reconnect if needed before using, value 0 means detecting every time.                                                                                                                                                                                                                                                                                                                                                                        |
+| store.graph                           | g                                            | The graph table name, which store vertex, edge and property.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
+| graphspace                            | DEFAULT                                      | The graph space name.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
+| alias.graph.id                        |                                              | The graph alias id.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
+| graph.read_mode                       | OLTP_ONLY                                    | The graph read mode, which could be ALL &#124; OLTP_ONLY &#124; OLAP_ONLY.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
+| pd.peers                              | 127.0.0.1:8686                               | The addresses of pd nodes, separated with commas. Only used by the hstore backend.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
+| schema.illegal_name_regex             | .*\s+$&#124;~.*                              | The regex specified the illegal format for schema name.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
+| schema.cache_capacity                 | 10000                                        | The max cache size(items) of schema cache.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
+| schema.init_template                  |                                              | The template schema used to init graph.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
+| schema.index_rebuild_using_pushdown   | true                                         | Whether to use pushdown when to create/rebuild index.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
+| vertex.cache_type                     | l2                                           | The type of vertex cache, allowed values are [l1, l2].                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
+| vertex.cache_capacity                 | 10000000                                     | The max cache size(items) of vertex cache.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
+| vertex.cache_expire                   | 600                                          | The expiration time in seconds of vertex cache.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
+| vertex.check_customized_id_exist      | false                                        | Whether to check the vertices exist for those using customized id strategy.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
+| vertex.default_label                  | vertex                                       | The default vertex label.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
+| vertex.tx_capacity                    | 10000                                        | The max size(items) of vertices(uncommitted) in transaction.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
+| vertex.check_adjacent_vertex_exist    | false                                        | Whether to check the adjacent vertices of edges exist.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
+| vertex.lazy_load_adjacent_vertex      | true                                         | Whether to lazy load adjacent vertices of edges.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
+| vertex.part_edge_commit_size          | 5000                                         | Whether to enable the mode to commit part of edges of vertex, enabled if commit size > 0, 0 means disabled.                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
+| vertex.encode_primary_key_number      | true                                         | Whether to encode number value of primary key in vertex id.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
+| vertex.remove_left_index_at_overwrite | false                                        | Whether remove left index at overwrite.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
+| edge.cache_type                       | l2                                           | The type of edge cache, allowed values are [l1, l2].                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
+| edge.cache_capacity                   | 1000000                                      | The max cache size(items) of edge cache.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
+| edge.cache_expire                     | 600                                          | The expiration time in seconds of edge cache.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
+| edge.tx_capacity                      | 10000                                        | The max size(items) of edges(uncommitted) in transaction.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
+| query.page_size                       | 500                                          | The size of each page when querying by paging.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
+| query.batch_size                      | 1000                                         | The size of each batch when querying by batch.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
+| query.ignore_invalid_data             | true                                         | Whether to ignore invalid data of vertex or edge.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
+| query.index_intersect_threshold       | 1000                                         | The maximum number of intermediate results to intersect indexes when querying by multiple single index properties.                                                                                                                                                                                                                                                                                                                                                                                                                                               |
+| query.max_indexes_available           | 1                                            | The upper limit of the number of indexes that can be used to query.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
+| query.dedup_option                    | limit                                        | The way to dedup data, allowed values are [limit, global].                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
+| query.trust_index                     | false                                        | Whether to trust index.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
+| query.ramtable_edges_capacity         | 20000000                                     | The maximum number of edges in ramtable, include OUT and IN edges.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
+| query.ramtable_enable                 | false                                        | Whether to enable ramtable for query of adjacent edges.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
+| query.ramtable_vertices_capacity      | 10000000                                     | The maximum number of vertices in ramtable, generally the largest vertex id is used as capacity.                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
+| query.optimize_aggregate_by_index     | false                                        | Whether to optimize aggregate query(like count) by index.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
+| oltp.concurrent_depth                 | 10                                           | The min depth to enable concurrent oltp algorithm.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
+| oltp.concurrent_threads               | max(10, CPUs / 2)                            | Thread number to concurrently execute oltp algorithm.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
+| oltp.collection_type                  | EC                                           | The implementation type of collections used in oltp algorithm, allowed values are [JCF, EC, FU].                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
+| oltp.query_batch_size                 | 10000                                        | The size of each batch when executing oltp algorithm.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
+| oltp.query_batch_avg_degree_ratio     | 0.95                                         | The ratio of exponential approximation for average degree of iterator when executing oltp algorithm.                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
+| oltp.query_batch_expect_degree        | 100000000                                    | The expect sum of degree in each batch when executing oltp algorithm.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
+| rate_limit.read                       | 0                                            | The max rate(times/s) to execute query of vertices/edges.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
+| rate_limit.write                      | 0                                            | The max rate(items/s) to add/update/delete vertices/edges.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
+| task.schedule_period                  | 10                                           | Period time in seconds when scheduler to schedule task.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
+| task.wait_timeout                     | 10                                           | Timeout in seconds for waiting for the task to complete, such as when truncating or clearing the backend.                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
+| task.retry                            | 0                                            | Task retry times, allowed range is [0, 3].                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
+| task.input_size_limit                 | 16777216                                     | The job input size limit in bytes.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
+| task.result_size_limit                | 16777216                                     | The job result size limit in bytes.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
+| task.sync_deletion                    | false                                        | Whether to delete schema or expired data synchronously.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
+| task.ttl_delete_batch                 | 1                                            | The batch size used to delete expired data.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
+| computer.config                       | ./conf/computer.yaml                         | The config file path of computer job.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
+| k8s.operator_template                 | ./conf/operator-template.yaml                | The path of operator container template.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
+| k8s.quota_template                    | ./conf/resource-quota-template.yaml          | The path of resource quota template.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
+| search.text_analyzer                  | ikanalyzer                                   | Choose a text analyzer for searching the vertex/edge properties, available type are [ansj, hanlp, smartcn, jieba, jcseg, mmseg4j, ikanalyzer]. The shipped graph templates set `jieba`. If use 'ikanalyzer', need download jar from 'https://github.com/apache/hugegraph-doc/raw/ik_binary/dist/server/ikanalyzer-2012_u6.jar' to lib directory                                                                                                                                                                                                                     |
+| search.text_analyzer_mode             | smart                                        | Specify the mode for the text analyzer, the available mode of analyzer are {ansj: [BaseAnalysis, IndexAnalysis, ToAnalysis, NlpAnalysis], hanlp: [standard, nlp, index, nShort, shortest, speed], smartcn: [], jieba: [SEARCH, INDEX], jcseg: [Simple, Complex], mmseg4j: [Simple, Complex, MaxWord], ikanalyzer: [smart, max_word]}.                                                                                                                                                                                                                              |

Review Comment:
   🧹 The `search.text_analyzer` row above gained "The shipped graph templates set `jieba`", but this row still shows only the option default `smart`, with no note that both shipped templates set `search.text_analyzer_mode=INDEX`:
   
   ```
   hugegraph-server/hugegraph-dist/src/assembly/static/conf/graphs/hugegraph.properties
   hugegraph-server/hugegraph-dist/src/assembly/static/conf/graphs/hstore.properties.template
   ```
   
   That matters here because `smart` is not a legal mode for the analyzer those same templates select:
   
   ```java
   // hugegraph-core/.../analyzer/JiebaAnalyzer.java:35
   public static final List<String> SUPPORT_MODES = ImmutableList.of("SEARCH", "INDEX");
   ```
   
   The description column does spell out `jieba: [SEARCH, INDEX]`, so an attentive reader will not be caught out; it is the default column and the missing template note that are out of step with the row above. Could you append "The shipped graph templates set `INDEX`." to the description, matching the sibling row? Same row on `content/cn/docs/config/config-option.md:184`.



##########
content/en/docs/config/config-option.md:
##########
@@ -13,205 +13,317 @@ search_boost: 1.5
 
 Corresponding configuration file `gremlin-server.yaml`
 
-| config option           | default value                                                                                                | description                                                                     |
-|-------------------------|--------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------|
-| host                    | 127.0.0.1                                                                                                    | The host or ip of Gremlin Server.                                               |
-| port                    | 8182                                                                                                         | The listening port of Gremlin Server.                                           |
-| graphs                  | {}                                                                                                           | Graphs are loaded dynamically by the Server; do not configure them here.        |
-| evaluationTimeout       | 30000                                                                                                        | Gremlin script evaluation timeout in milliseconds.                              |
-| channelizer             | org.apache.tinkerpop.gremlin.server.channel.WsAndHttpChannelizer                                             | Handles both WebSocket and HTTP requests.                                       |
-| authentication          | Not configured                                                                                               | When enabling authentication, configure the authenticator, handler, and path to `rest-server.properties`. |
+| config option             | default value                                                                                                | description                                                                     |
+|---------------------------|--------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------|
+| host                      | 127.0.0.1                                                                                                    | The host or ip of Gremlin Server.                                               |
+| port                      | 8182                                                                                                         | The listening port of Gremlin Server.                                           |
+| graphs                    | {}                                                                                                           | Graphs are loaded dynamically by the Server; do not configure them here.        |
+| evaluationTimeout         | 30000                                                                                                        | Gremlin script evaluation timeout in milliseconds.                              |
+| channelizer               | org.apache.tinkerpop.gremlin.server.channel.WsAndHttpChannelizer                                             | Handles both WebSocket and HTTP requests.                                       |
+| maxContentLength          | 65536                                                                                                        | Maximum size in bytes of a request that the server accepts.                      |
+| maxChunkSize              | 8192                                                                                                         | Maximum chunk size in bytes of an HTTP request.                                  |
+| maxHeaderSize             | 8192                                                                                                         | Maximum size in bytes of the HTTP request headers.                               |
+| resultIterationBatchSize  | 64                                                                                                           | Number of results returned per batch when streaming a result set.                |
+| ssl.enabled               | false                                                                                                        | Whether Gremlin Server serves over TLS.                                          |
+| authentication            | Not configured                                                                                               | When enabling authentication, configure the authenticator, handler, and path to `rest-server.properties`. |
 
 ### Rest Server & API Config Options
 
 Corresponding configuration file `rest-server.properties`
 
-| config option                      | default value                                    | description                                                                                                                                                                                                   |
-|------------------------------------|--------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| graphs                             | ./conf/graphs                                    | Directory containing graph configuration properties files.                                                                                                                                                    |
-| graph.load_from_local_config       | false                                            | Whether to read the `graphs` directory when the Server starts; set to `true` when using local graph configuration.                                                                                            |
-| server.id                          | Empty string                                     | The id of rest server, used for license verification.                                                                                                                                                         |
-| server.role                        | master                                           | The role of nodes in the cluster, available types are [master, worker, computer]                                                                                                                              |
-| restserver.url                     | http://127.0.0.1:8080                            | The url for listening of rest server.                                                                                                                                                                         |
-| ssl.keystore_file                  | conf/hugegraph-server.keystore                   | The path of server keystore file used when https protocol is enabled.                                                                                                                                         |
-| ssl.keystore_password              | hugegraph                                        | The password of the server keystore file used when the https protocol is enabled.                                                                                                                             |
-| restserver.max_worker_threads      | 2 * CPUs                                         | The maximum worker threads of rest server.                                                                                                                                                                    |
-| restserver.min_free_memory         | 64                                               | The minimum free memory(MB) of rest server, requests will be rejected when the available memory of system is lower than this value.                                                                           |
-| restserver.request_timeout         | 30                                               | The time in seconds within which a request must complete, -1 means no timeout.                                                                                                                                |
-| restserver.connection_idle_timeout | 30                                               | The time in seconds to keep an inactive connection alive, -1 means no timeout.                                                                                                                                |
-| restserver.connection_max_requests | 256                                              | The max number of HTTP requests allowed to be processed on one keep-alive connection, -1 means unlimited.                                                                                                     |
-| gremlinserver.url                  | http://127.0.0.1:8182                            | The url of gremlin server.                                                                                                                                                                                    |
-| gremlinserver.max_route            | 8                                                | The max route number for gremlin server.                                                                                                                                                                      |
-| gremlinserver.timeout              | 30                                               | The timeout in seconds of waiting for gremlin server.                                                                                                                                                         |
-| batch.max_edges_per_batch          | 2500                                             | The maximum number of edges submitted per batch.                                                                                                                                                              |
-| batch.max_vertices_per_batch       | 2500                                             | The maximum number of vertices submitted per batch.                                                                                                                                                           |
-| batch.max_write_ratio              | 70                                               | The maximum thread ratio for batch writing, only take effect if the batch.max_write_threads is 0.                                                                                                             |
-| batch.max_write_threads            | 0                                                | The maximum threads for batch writing, if the value is 0, the actual value will be set to batch.max_write_ratio * restserver.max_worker_threads.                                                              |
-| auth.authenticator                 |                                                  | The class path of authenticator implementation. e.g., org.apache.hugegraph.auth.StandardAuthenticator, or a custom implementation.                                                        |
-| auth.graph_store                   | hugegraph                                        | The name of graph used to store authentication information, like users, only for org.apache.hugegraph.auth.StandardAuthenticator.                                                                              |
-| auth.admin_pa                      | pa                                               | Initial password for the built-in admin user in PD mode. It only applies when the user is first created and must be changed before deployment.                                                                 |
-| auth.audit_log_rate                | 1000.0                                           | The max rate of audit log output per user, default value is 1000 records per second.                                                                                                                          |
-| auth.cache_capacity                | 10240                                            | The max cache capacity of each auth cache item.                                                                                                                                                               |
-| auth.cache_expire                  | 600                                              | The expiration time in seconds of vertex cache.                                                                                                                                                               |
-| auth.remote_url                    |                                                  | If the address is empty, it provide auth service, otherwise it is auth client and also provide auth service through rpc forwarding. The remote url can be set to multiple addresses, which are concat by ','. |
-| auth.token_expire                  | 86400                                            | The expiration time in seconds after token created                                                                                                                                                            |
-| auth.token_secret                  | Randomly generated at startup                    | HS256 secret; configure it explicitly if existing tokens must remain valid across restarts.                                                                                                                   |
-| exception.allow_trace              | true                                             | Whether to allow exception trace stack.                                                                                                                                                                       |
-| memory_monitor.threshold           | 0.85                                             | The threshold of JVM(in-heap) memory usage monitoring , 1 means disabling this function.                                                                                                                      |
-| memory_monitor.period              | 2000                                             | The period in ms of JVM(in-heap) memory usage monitoring.                                                                                                                                                     |
-| log.slow_query_threshold           | 1000                                             | Slow query log threshold in milliseconds, 0 means disabled.                                                                                                                                                   |
-| log.slow_query_body_limit          | 512                                              | Maximum bytes of a request body recorded in the slow query log, 0 means disabled. The recorded prefix may contain sensitive Gremlin or Cypher literals.                                                       |
+| config option                          | default value                                    | description                                                                                                                                                                                                   |
+|----------------------------------------|--------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| graphs                                 | ./conf/graphs                                    | Directory containing graph configuration properties files.                                                                                                                                                    |
+| graph.load_from_local_config           | false                                            | Whether to read the `graphs` directory when the Server starts; set to `true` when using local graph configuration.                                                                                            |
+| graphs.enable_dynamic_create_drop      | true                                             | Whether to enable create or drop graph dynamically.                                                                                                                                                           |
+| init_store.enabled                     | true                                             | Whether init-store initializes the local backend stores and the built-in admin account. Set false in distributed deployments (PD/HStore) where the storage side already owns the metadata.                     |
+| server.id                              | Empty string                                     | The optional legacy id of hugegraph-server.                                                                                                                                                                   |
+| server.role                            | master                                           | The role of nodes in the cluster, available types are [master, worker, computer]                                                                                                                              |
+| server.role_election                   | false                                            | Whether to enable role election, if enabled, the server will elect a master node in the cluster.                                                                                                               |
+| server.node_id                         | node-id1                                         | The node id of the server.                                                                                                                                                                                    |
+| server.node_role                       | worker                                           | The node role of the server.                                                                                                                                                                                  |
+| server.graphspace                       | DEFAULT                                          | The graph space of the server.                                                                                                                                                                                |
+| server.service_id                      | DEFAULT                                          | The service id of the server.                                                                                                                                                                                 |
+| server.path_graphspace                 | DEFAULT                                          | The default path graph space of the server.                                                                                                                                                                   |
+| server.start_ignore_single_graph_error | true                                             | Whether to start ignore single graph error.                                                                                                                                                                   |
+| server.event_hub_threads               | 1                                                | The event hub threads of server.                                                                                                                                                                              |
+| restserver.url                         | http://127.0.0.1:8080                            | The url for listening of graph server.                                                                                                                                                                        |
+| ssl.keystore_file                      | conf/hugegraph-server.keystore                   | The path of server keystore file used when https protocol is enabled.                                                                                                                                         |
+| ssl.keystore_password                  | hugegraph                                        | The password of the server keystore file when the https protocol is enabled.                                                                                                                                   |
+| white_ip.status                        | disable                                          | The status of whether enable white ip.                                                                                                                                                                        |
+| restserver.max_worker_threads          | 2 * CPUs                                         | The maximum worker threads of rest server.                                                                                                                                                                    |
+| restserver.task_threads                | max(4, CPUs / 2)                                 | The task threads of rest server.                                                                                                                                                                              |
+| restserver.min_free_memory             | 64                                               | The minimum free memory(MB) of rest server, requests will be rejected when the available memory of system is lower than this value.                                                                           |
+| restserver.request_timeout             | 30                                               | The time in seconds within which a request must complete, -1 means no timeout.                                                                                                                                |
+| restserver.connection_idle_timeout     | 30                                               | The time in seconds to keep an inactive connection alive, -1 means no timeout.                                                                                                                                |
+| restserver.connection_max_requests     | 256                                              | The max number of HTTP requests allowed to be processed on one keep-alive connection, -1 means unlimited.                                                                                                     |
+| gremlinserver.url                      | http://127.0.0.1:8182                            | The url of gremlin server.                                                                                                                                                                                    |
+| gremlinserver.max_route                | 2 * CPUs                                         | The max route number for gremlin server.                                                                                                                                                                      |
+| gremlinserver.timeout                  | 30                                               | The timeout in seconds of waiting for gremlin server.                                                                                                                                                         |
+| batch.max_edges_per_batch              | 2500                                             | The maximum number of edges submitted per batch.                                                                                                                                                              |
+| batch.max_vertices_per_batch           | 2500                                             | The maximum number of vertices submitted per batch.                                                                                                                                                          |
+| batch.max_write_ratio                  | 70                                               | The maximum thread ratio for batch writing, only take effect if the batch.max_write_threads is 0.                                                                                                             |
+| batch.max_write_threads                | 0                                                | The maximum threads for batch writing, if the value is 0, the actual value will be set to batch.max_write_ratio * restserver.max_worker_threads.                                                              |
+| raft.group_peers                       | 127.0.0.1:8090                                   | The rpc address of raft group initial peers.                                                                                                                                                                  |
+| auth.authenticator                     |                                                  | The class path of authenticator implementation. e.g., org.apache.hugegraph.auth.StandardAuthenticator, or a custom implementation.                                                        |
+| auth.graph_store                       | hugegraph                                        | The name of graph used to store authentication information, like users, only for org.apache.hugegraph.auth.StandardAuthenticator.                                                                              |
+| auth.admin_pa                          | pa                                               | The default password for built-in admin account, takes effect on first startup. It must be changed before deployment.                                                                                          |
+| auth.audit_log_rate                    | 1000.0                                           | The max rate of audit log output per user, default value is 1000 records per second.                                                                                                                          |
+| auth.cache_capacity                    | 10240                                            | The max cache capacity of each auth cache item.                                                                                                                                                               |
+| auth.cache_expire                      | 600                                              | The expiration time in seconds of auth cache in auth client and auth server.                                                                                                                                  |
+| auth.remote_url                        |                                                  | If the address is empty, it provide auth service, otherwise it is auth client and also provide auth service through rpc forwarding. The remote url can be set to multiple addresses, which are concat by ','. |
+| auth.token_expire                      | 86400                                            | The expiration time in seconds after token created                                                                                                                                                            |
+| auth.token_secret                      | Randomly generated at startup                    | HS256 secret; configure it explicitly if existing tokens must remain valid across restarts.                                                                                                                   |
+| exception.allow_trace                  | true                                             | Whether to allow exception trace stack.                                                                                                                                                                       |
+| memory_monitor.threshold               | 0.85                                             | Threshold for JVM memory usage monitoring, 1 means disabling the memory monitoring task.                                                                                                                      |
+| memory_monitor.period                  | 2000                                             | The period in ms of JVM memory usage monitoring, in each period we will detect the jvm memory usage and take corresponding actions.                                                                            |
+| log.slow_query_threshold               | 1000                                             | The threshold time(ms) of logging slow query, 0 means logging slow query is disabled.                                                                                                                          |
+| log.slow_query_body_limit              | 512                                              | The max bytes of request body recorded in the slow query log, 0 means the body is not recorded. The recorded prefix is written as-is and may contain sensitive Gremlin or Cypher literals.                      |
+
+> [!DETAILS]- **Role Election Config Options (Optional)**
+> Corresponding configuration file `rest-server.properties`, only used when `server.role_election=true`.
+>
+> | config option                  | default value         | description                                                                                                                                                                    |
+> |--------------------------------|-----------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+> | server.role.node_external_url  | http://127.0.0.1:8080 | The url of external accessibility.                                                                                                                                             |
+> | server.role.base_timeout       | 500                   | The role state machine candidate state base timeout time, in ms.                                                                                                                |
+> | server.role.random_timeout     | 1000                  | The random timeout in ms that be used when candidate node request to become master state to reduce competitive voting.                                                          |
+> | server.role.heartbeat_interval | 2                     | The role state machine heartbeat interval second time.                                                                                                                         |
+> | server.role.fail_count         | 5                     | When the node failed count of update or query heartbeat is reaches this threshold, the node will become abdication state to guardsafe property.                                 |
+> | server.role.master_dead_times  | 10                    | When the worker node detects that the number of times the master node fails to update heartbeat reaches this threshold, the worker node will become to a candidate node.        |
 
 ### PD/Meta Config Options (Distributed Mode)
 
 Corresponding configuration file `rest-server.properties`
 
-| config option    | default value          | description                                |
-|------------------|------------------------|--------------------------------------------|
-| pd.peers         | 127.0.0.1:8686         | PD server addresses (comma separated).     |
-| meta.endpoints   | http://127.0.0.1:2379  | Meta service endpoints.                    |
-| usePD            | false                   | Whether to use PD to manage distributed metadata. |
+| config option        | default value         | description                                                     |
+|----------------------|-----------------------|-----------------------------------------------------------------|
+| usePD                | false                 | Whether use pd.                                                 |
+| pd.peers             | 127.0.0.1:8686        | The pd server peers, separated with commas.                     |
+| cluster              | hg-test               | The cluster name.                                               |
+| metrics.data_to_pd   | true                  | Whether to report metrics data to pd.                           |
+| meta.endpoints       | http://127.0.0.1:2379 | The URL of meta endpoints. No code reads this option, so setting it has no effect; the meta connection is built from `pd.peers`. |
+| meta.use_ca          | false                 | Whether to use ca to meta server.                               |
+| meta.ca              |                       | The ca file of meta server.                                     |
+| meta.client_ca       |                       | The client ca file of meta server.                              |
+| meta.client_key      |                       | The client key file of meta server.                             |
+
+The HStore backend also reads two options from the graph configuration file `{graph-name}.properties`. Both default to
+0, which means the value is decided by PD:
+
+| config option           | default value | description                                                     |
+|-------------------------|---------------|-----------------------------------------------------------------|
+| hstore.partition_count  | 0             | Number of partitions, which PD controls partitions based on.    |
+| hstore.shard_count      | 0             | Number of copies, which PD controls partition copies based on.  |
 
 ### Basic Config Options
 
 Basic Config Options and Backend Config Options correspond to configuration files:{graph-name}.properties, such as `hugegraph.properties`
 
-| config option                         | default value                                | description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
-|---------------------------------------|----------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| gremlin.graph                         | org.apache.hugegraph.HugeFactory              | Gremlin entrance to create graph.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
-| backend                               | rocksdb                                      | The data store type. For version 1.7.0+: [memory, rocksdb, hstore, hbase]. Note: cassandra, scylladb, mysql, postgresql were removed in 1.7.0 (use <= 1.5.x for legacy backends).                                                                                                                                                                                                                                                                                                                                                                                                              |
-| serializer                            | binary                                       | The serializer for backend store, available values are [text, binary, cassandra, hbase, mysql].                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
-| store                                 | hugegraph                                    | The database name like Cassandra Keyspace.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
-| store.connection_detect_interval      | 600                                          | The interval in seconds for detecting connections, if the idle time of a connection exceeds this value, detect it and reconnect if needed before using, value 0 means detecting every time.                                                                                                                                                                                                                                                                                                                                                                                                      |
-| store.graph                           | g                                            | The graph table name, which store vertex, edge and property.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
-| store.schema                          | m                                            | The schema table name, which store meta data.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
-| store.system                          | s                                            | The system table name, which store system data.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
-| schema.illegal_name_regex             | .*\s+$&#124;~.*                              | The regex specified the illegal format for schema name.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
-| schema.cache_capacity                 | 10000                                        | The max cache size(items) of schema cache.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
-| vertex.cache_type                     | l2                                           | The type of vertex cache, allowed values are [l1, l2].                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
-| vertex.cache_capacity                 | 10000000                                     | The max cache size(items) of vertex cache.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
-| vertex.cache_expire                   | 600                                          | The expire time in seconds of vertex cache.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
-| vertex.check_customized_id_exist      | false                                        | Whether to check the vertices exist for those using customized id strategy.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
-| vertex.default_label                  | vertex                                       | The default vertex label.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
-| vertex.tx_capacity                    | 10000                                        | The max size(items) of vertices(uncommitted) in transaction.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
-| vertex.check_adjacent_vertex_exist    | false                                        | Whether to check the adjacent vertices of edges exist.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
-| vertex.lazy_load_adjacent_vertex      | true                                         | Whether to lazy load adjacent vertices of edges.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
-| vertex.part_edge_commit_size          | 5000                                         | Whether to enable the mode to commit part of edges of vertex, enabled if commit size > 0, 0 means disabled.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
-| vertex.encode_primary_key_number      | true                                         | Whether to encode number value of primary key in vertex id.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
-| vertex.remove_left_index_at_overwrite | false                                        | Whether remove left index at overwrite.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
-| edge.cache_type                       | l2                                           | The type of edge cache, allowed values are [l1, l2].                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
-| edge.cache_capacity                   | 1000000                                      | The max cache size(items) of edge cache.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
-| edge.cache_expire                     | 600                                          | The expiration time in seconds of edge cache.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
-| edge.tx_capacity                      | 10000                                        | The max size(items) of edges(uncommitted) in transaction.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
-| query.page_size                       | 500                                          | The size of each page when querying by paging.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
-| query.batch_size                      | 1000                                         | The size of each batch when querying by batch.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
-| query.ignore_invalid_data             | true                                         | Whether to ignore invalid data of vertex or edge.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
-| query.index_intersect_threshold       | 1000                                         | The maximum number of intermediate results to intersect indexes when querying by multiple single index properties.                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
-| query.ramtable_edges_capacity         | 20000000                                     | The maximum number of edges in ramtable, include OUT and IN edges.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
-| query.ramtable_enable                 | false                                        | Whether to enable ramtable for query of adjacent edges.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
-| query.ramtable_vertices_capacity      | 10000000                                     | The maximum number of vertices in ramtable, generally the largest vertex id is used as capacity.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
-| query.optimize_aggregate_by_index     | false                                        | Whether to optimize aggregate query(like count) by index.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
-| oltp.concurrent_depth                 | 10                                           | The min depth to enable concurrent oltp algorithm.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
-| oltp.concurrent_threads               | 10                                           | Thread number to concurrently execute oltp algorithm.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
-| oltp.collection_type                  | EC                                           | The implementation type of collections used in oltp algorithm.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
-| rate_limit.read                       | 0                                            | The max rate(times/s) to execute query of vertices/edges.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
-| rate_limit.write                      | 0                                            | The max rate(items/s) to add/update/delete vertices/edges.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
-| task.wait_timeout                     | 10                                           | Timeout in seconds for waiting for the task to complete,such as when truncating or clearing the backend.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
-| task.input_size_limit                 | 16777216                                     | The job input size limit in bytes.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
-| task.result_size_limit                | 16777216                                     | The job result size limit in bytes.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
-| task.sync_deletion                    | false                                        | Whether to delete schema or expired data synchronously.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
-| task.ttl_delete_batch                 | 1                                            | The batch size used to delete expired data.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
-| computer.config                       | /conf/computer.yaml                          | The config file path of computer job.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
-| search.text_analyzer                  | ikanalyzer                                   | Choose a text analyzer for searching the vertex/edge properties, available type are [word, ansj, hanlp, smartcn, jieba, jcseg, mmseg4j, ikanalyzer]. if use 'ikanalyzer', need download jar from 'https://github.com/apache/hugegraph-doc/raw/ik_binary/dist/server/ikanalyzer-2012_u6.jar' to lib directory                                                                                                                                                                                                                                                                                     |
-| search.text_analyzer_mode             | smart                                        | Specify the mode for the text analyzer, the available mode of analyzer are {word: [MaximumMatching, ReverseMaximumMatching, MinimumMatching, ReverseMinimumMatching, BidirectionalMaximumMatching, BidirectionalMinimumMatching, BidirectionalMaximumMinimumMatching, FullSegmentation, MinimalWordCount, MaxNgramScore, PureEnglish], ansj: [BaseAnalysis, IndexAnalysis, ToAnalysis, NlpAnalysis], hanlp: [standard, nlp, index, nShort, shortest, speed], smartcn: [], jieba: [SEARCH, INDEX], jcseg: [Simple, Complex], mmseg4j: [Simple, Complex, MaxWord], ikanalyzer: [smart, max_word]}. |
-| snowflake.datacenter_id               | 0                                            | The datacenter id of snowflake id generator.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
-| snowflake.force_string                | false                                        | Whether to force the snowflake long id to be a string.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
-| snowflake.worker_id                   | 0                                            | The worker id of snowflake id generator.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
-| raft.mode                             | false                                        | Whether the backend storage works in raft mode.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
-| raft.safe_read                        | false                                        | Whether to use linearly consistent read.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
-| raft.use_snapshot                     | false                                        | Whether to use snapshot.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
-| raft.endpoint                         | 127.0.0.1:8281                               | The peerid of current raft node.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
-| raft.group_peers                      | 127.0.0.1:8281,127.0.0.1:8282,127.0.0.1:8283 | The peers of current raft group.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
-| raft.path                             | ./raft-log                                   | The log path of current raft node.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
-| raft.use_replicator_pipeline          | true                                         | Whether to use replicator line, when turned on it multiple logs can be sent in parallel, and the next log doesn't have to wait for the ack message of the current log to be sent.                                                                                                                                                                                                                                                                                                                                                                                                                |
-| raft.election_timeout                 | 10000                                        | Timeout in milliseconds to launch a round of election.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
-| raft.snapshot_interval                | 3600                                         | The interval in seconds to trigger snapshot save.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
-| raft.backend_threads                  | current CPU v-cores                          | The thread number used to apply task to backend.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
-| raft.read_index_threads               | 8                                            | The thread number used to execute reading index.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
-| raft.apply_batch                      | 1                                            | The apply batch size to trigger disruptor event handler.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
-| raft.queue_size                       | 16384                                        | The disruptor buffers size for jraft RaftNode, StateMachine and LogManager.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
-| raft.queue_publish_timeout            | 60                                           | The timeout in second when publish event into disruptor.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
-| raft.rpc_threads                      | 80                                           | The rpc threads for jraft RPC layer.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
-| raft.rpc_connect_timeout              | 5000                                         | The rpc connect timeout for jraft rpc.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
-| raft.rpc_timeout                      | 60000                                        | The rpc timeout for jraft rpc.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
-| raft.rpc_buf_low_water_mark           | 10485760                                     | The ChannelOutboundBuffer's low water mark of netty, when buffer size less than this size, the method ChannelOutboundBuffer.isWritable() will return true, it means that low downstream pressure or good network.                                                                                                                                                                                                                                                                                                                                                                                |
-| raft.rpc_buf_high_water_mark          | 20971520                                     | The ChannelOutboundBuffer's high water mark of netty, only when buffer size exceed this size, the method ChannelOutboundBuffer.isWritable() will return false, it means that the downstream pressure is too great to process the request or network is very congestion, upstream needs to limit rate at this time.                                                                                                                                                                                                                                                                               |
-| raft.read_strategy                    | ReadOnlyLeaseBased                           | The linearizability of read strategy.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
+| config option                         | default value                                | description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
+|---------------------------------------|----------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| gremlin.graph                         | org.apache.hugegraph.HugeFactory              | Gremlin entrance to create graph.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
+| backend                               | memory                                       | The data store type. For version 1.7.0+ the allowed values are [memory, rocksdb, hstore, hbase]; the shipped `conf/graphs/hugegraph.properties` sets `rocksdb` and `conf/graphs/hstore.properties.template` sets `hstore`. Note: cassandra, scylladb, mysql, postgresql were removed in 1.7.0 (use <= 1.5.x for legacy backends).                                                                                                                                                                                                                                  |
+| serializer                            | text                                         | The serializer for backend store, built-in values are [text, binary, binaryscatter]; a backend may register its own, like `hbase`. The shipped graph templates set `binary`.                                                                                                                                                                                                                                                                                                                                                                                      |
+| serializer.buffer_max_capacity        | 134217728                                    | The process-wide max capacity of one serialization buffer in bytes.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
+| store                                 | hugegraph                                    | The backend database namespace.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
+| store.connection_detect_interval      | 600                                          | The interval in seconds for detecting connections, if the idle time of a connection exceeds this value, detect it and reconnect if needed before using, value 0 means detecting every time.                                                                                                                                                                                                                                                                                                                                                                        |
+| store.graph                           | g                                            | The graph table name, which store vertex, edge and property.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
+| graphspace                            | DEFAULT                                      | The graph space name.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
+| alias.graph.id                        |                                              | The graph alias id.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
+| graph.read_mode                       | OLTP_ONLY                                    | The graph read mode, which could be ALL &#124; OLTP_ONLY &#124; OLAP_ONLY.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
+| pd.peers                              | 127.0.0.1:8686                               | The addresses of pd nodes, separated with commas. Only used by the hstore backend.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
+| schema.illegal_name_regex             | .*\s+$&#124;~.*                              | The regex specified the illegal format for schema name.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
+| schema.cache_capacity                 | 10000                                        | The max cache size(items) of schema cache.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
+| schema.init_template                  |                                              | The template schema used to init graph.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
+| schema.index_rebuild_using_pushdown   | true                                         | Whether to use pushdown when to create/rebuild index.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
+| vertex.cache_type                     | l2                                           | The type of vertex cache, allowed values are [l1, l2].                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
+| vertex.cache_capacity                 | 10000000                                     | The max cache size(items) of vertex cache.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
+| vertex.cache_expire                   | 600                                          | The expiration time in seconds of vertex cache.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
+| vertex.check_customized_id_exist      | false                                        | Whether to check the vertices exist for those using customized id strategy.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
+| vertex.default_label                  | vertex                                       | The default vertex label.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
+| vertex.tx_capacity                    | 10000                                        | The max size(items) of vertices(uncommitted) in transaction.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
+| vertex.check_adjacent_vertex_exist    | false                                        | Whether to check the adjacent vertices of edges exist.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
+| vertex.lazy_load_adjacent_vertex      | true                                         | Whether to lazy load adjacent vertices of edges.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
+| vertex.part_edge_commit_size          | 5000                                         | Whether to enable the mode to commit part of edges of vertex, enabled if commit size > 0, 0 means disabled.                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
+| vertex.encode_primary_key_number      | true                                         | Whether to encode number value of primary key in vertex id.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
+| vertex.remove_left_index_at_overwrite | false                                        | Whether remove left index at overwrite.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
+| edge.cache_type                       | l2                                           | The type of edge cache, allowed values are [l1, l2].                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
+| edge.cache_capacity                   | 1000000                                      | The max cache size(items) of edge cache.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
+| edge.cache_expire                     | 600                                          | The expiration time in seconds of edge cache.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
+| edge.tx_capacity                      | 10000                                        | The max size(items) of edges(uncommitted) in transaction.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
+| query.page_size                       | 500                                          | The size of each page when querying by paging.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
+| query.batch_size                      | 1000                                         | The size of each batch when querying by batch.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
+| query.ignore_invalid_data             | true                                         | Whether to ignore invalid data of vertex or edge.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
+| query.index_intersect_threshold       | 1000                                         | The maximum number of intermediate results to intersect indexes when querying by multiple single index properties.                                                                                                                                                                                                                                                                                                                                                                                                                                               |
+| query.max_indexes_available           | 1                                            | The upper limit of the number of indexes that can be used to query.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
+| query.dedup_option                    | limit                                        | The way to dedup data, allowed values are [limit, global].                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
+| query.trust_index                     | false                                        | Whether to trust index.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
+| query.ramtable_edges_capacity         | 20000000                                     | The maximum number of edges in ramtable, include OUT and IN edges.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
+| query.ramtable_enable                 | false                                        | Whether to enable ramtable for query of adjacent edges.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
+| query.ramtable_vertices_capacity      | 10000000                                     | The maximum number of vertices in ramtable, generally the largest vertex id is used as capacity.                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
+| query.optimize_aggregate_by_index     | false                                        | Whether to optimize aggregate query(like count) by index.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
+| oltp.concurrent_depth                 | 10                                           | The min depth to enable concurrent oltp algorithm.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
+| oltp.concurrent_threads               | max(10, CPUs / 2)                            | Thread number to concurrently execute oltp algorithm.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
+| oltp.collection_type                  | EC                                           | The implementation type of collections used in oltp algorithm, allowed values are [JCF, EC, FU].                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
+| oltp.query_batch_size                 | 10000                                        | The size of each batch when executing oltp algorithm.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
+| oltp.query_batch_avg_degree_ratio     | 0.95                                         | The ratio of exponential approximation for average degree of iterator when executing oltp algorithm.                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
+| oltp.query_batch_expect_degree        | 100000000                                    | The expect sum of degree in each batch when executing oltp algorithm.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
+| rate_limit.read                       | 0                                            | The max rate(times/s) to execute query of vertices/edges.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
+| rate_limit.write                      | 0                                            | The max rate(items/s) to add/update/delete vertices/edges.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
+| task.schedule_period                  | 10                                           | Period time in seconds when scheduler to schedule task.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
+| task.wait_timeout                     | 10                                           | Timeout in seconds for waiting for the task to complete, such as when truncating or clearing the backend.                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
+| task.retry                            | 0                                            | Task retry times, allowed range is [0, 3].                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
+| task.input_size_limit                 | 16777216                                     | The job input size limit in bytes.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
+| task.result_size_limit                | 16777216                                     | The job result size limit in bytes.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
+| task.sync_deletion                    | false                                        | Whether to delete schema or expired data synchronously.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
+| task.ttl_delete_batch                 | 1                                            | The batch size used to delete expired data.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
+| computer.config                       | ./conf/computer.yaml                         | The config file path of computer job.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
+| k8s.operator_template                 | ./conf/operator-template.yaml                | The path of operator container template.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
+| k8s.quota_template                    | ./conf/resource-quota-template.yaml          | The path of resource quota template.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
+| search.text_analyzer                  | ikanalyzer                                   | Choose a text analyzer for searching the vertex/edge properties, available type are [ansj, hanlp, smartcn, jieba, jcseg, mmseg4j, ikanalyzer]. The shipped graph templates set `jieba`. If use 'ikanalyzer', need download jar from 'https://github.com/apache/hugegraph-doc/raw/ik_binary/dist/server/ikanalyzer-2012_u6.jar' to lib directory                                                                                                                                                                                                                     |
+| search.text_analyzer_mode             | smart                                        | Specify the mode for the text analyzer, the available mode of analyzer are {ansj: [BaseAnalysis, IndexAnalysis, ToAnalysis, NlpAnalysis], hanlp: [standard, nlp, index, nShort, shortest, speed], smartcn: [], jieba: [SEARCH, INDEX], jcseg: [Simple, Complex], mmseg4j: [Simple, Complex, MaxWord], ikanalyzer: [smart, max_word]}.                                                                                                                                                                                                                              |
+| snowflake.datacenter_id               | 0                                            | The datacenter id of snowflake id generator.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
+| snowflake.force_string                | false                                        | Whether to force the snowflake long id to be a string.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
+| snowflake.worker_id                   | 0                                            | The worker id of snowflake id generator.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
+| memory.mode                           | off-heap                                     | The memory mode used for query in HugeGraph.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
+| memory.max_capacity                   | 1073741824                                   | The maximum memory capacity in bytes that can be managed for all queries in HugeGraph.                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
+| memory.one_query_max_capacity         | 104857600                                    | The maximum memory capacity in bytes that can be managed for a query in HugeGraph.                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
+| memory.alignment                      | 8                                            | The alignment used for round memory size.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
+
+> [!DETAILS]- **Raft Config Options (Deprecated)**
+> The shipped graph configuration templates mark these options as deprecated. They only take effect when
+> `raft.mode=true`, and `raft.group_peers` is read from `rest-server.properties` instead of the graph file.
+>
+> | config option                     | default value        | description                                                                                                                                                                                                                                                                       |
+> |-----------------------------------|----------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+> | raft.mode                         | false                | Whether the backend storage works in raft mode.                                                                                                                                                                                                                                   |
+> | raft.safe_read                    | false                | Whether to use linearly consistent read.                                                                                                                                                                                                                                          |
+> | raft.path                         | ./raftlog            | The log path of current raft node.                                                                                                                                                                                                                                                |
+> | raft.use_replicator_pipeline      | true                 | Whether to use replicator line, when turned on it multiple logs can be sent in parallel, and the next log doesn't have to wait for the ack message of the current log to be sent.                                                                                                  |
+> | raft.election_timeout             | 10000                | Timeout in milliseconds to launch a round of election.                                                                                                                                                                                                                            |
+> | raft.snapshot_interval            | 3600                 | The interval in seconds to trigger snapshot save.                                                                                                                                                                                                                                 |
+> | raft.snapshot_threads             | 4                    | The thread number used to do snapshot.                                                                                                                                                                                                                                            |
+> | raft.snapshot_parallel_compress   | false                | Whether to enable parallel compress.                                                                                                                                                                                                                                              |
+> | raft.snapshot_compress_threads    | 4                    | The thread number used to do snapshot compress.                                                                                                                                                                                                                                   |
+> | raft.snapshot_decompress_threads  | 4                    | The thread number used to do snapshot decompress.                                                                                                                                                                                                                                 |
+> | raft.backend_threads              | CPUs                 | The thread number used to apply task to backend.                                                                                                                                                                                                                                  |
+> | raft.read_index_threads           | 8                    | The thread number used to execute reading index.                                                                                                                                                                                                                                  |
+> | raft.read_strategy                | ReadOnlyLeaseBased   | The linearizability of read strategy, allowed values are [ReadOnlyLeaseBased, ReadOnlySafe].                                                                                                                                                                                       |
+> | raft.apply_batch                  | 1                    | The apply batch size to trigger disruptor event handler.                                                                                                                                                                                                                          |
+> | raft.queue_size                   | 16384                | The disruptor buffers size for jraft RaftNode, StateMachine and LogManager.                                                                                                                                                                                                       |
+> | raft.queue_publish_timeout        | 60                   | The timeout in second when publish event into disruptor.                                                                                                                                                                                                                          |
+> | raft.rpc_threads                  | max(CPUs * 2, 80)    | The rpc threads for jraft RPC layer.                                                                                                                                                                                                                                              |
+> | raft.rpc_connect_timeout          | 5000                 | The rpc connect timeout in milliseconds for jraft rpc.                                                                                                                                                                                                                            |
+> | raft.rpc_timeout                  | 60                   | The general rpc timeout in seconds for jraft rpc.                                                                                                                                                                                                                                 |
+> | raft.install_snapshot_rpc_timeout | 36000                | The install snapshot rpc timeout in seconds for jraft rpc.                                                                                                                                                                                                                        |
+> | raft.rpc_buf_low_water_mark       | 10485760             | The ChannelOutboundBuffer's low water mark of netty, when buffer size less than this size, the method ChannelOutboundBuffer.isWritable() will return true, it means that low downstream pressure or good network.                                                                   |
+> | raft.rpc_buf_high_water_mark      | 20971520             | The ChannelOutboundBuffer's high water mark of netty, only when buffer size exceed this size, the method ChannelOutboundBuffer.isWritable() will return false, it means that the downstream pressure is too great to process the request or network is very congestion, upstream needs to limit rate at this time. |
 
 ### RocksDB Backend Config Options
 
-| config option                                   | default value                                                                                                                        | description                                                                                                                                                                                                                                                                                                                                                                                           |
-|-------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| backend                                         |                                                                                                                                      | Must be set to `rocksdb`.                                                                                                                                                                                                                                                                                                                                                                             |
-| serializer                                      |                                                                                                                                      | Must be set to `binary`.                                                                                                                                                                                                                                                                                                                                                                              |
-| rocksdb.data_disks                              | []                                                                                                                                   | The optimized disks for storing data of RocksDB. The format of each element: `STORE/TABLE: /path/disk`.Allowed keys are [g/vertex, g/edge_out, g/edge_in, g/vertex_label_index, g/edge_label_index, g/range_int_index, g/range_float_index, g/range_long_index, g/range_double_index, g/secondary_index, g/search_index, g/shard_index, g/unique_index, g/olap]                                       |
-| rocksdb.data_path                               | rocksdb-data/data                                                                                                                     | The path for storing data of RocksDB.                                                                                                                                                                                                                                                                                                                                                                 |
-| rocksdb.wal_path                                | rocksdb-data/wal                                                                                                                     | The path for storing WAL of RocksDB.                                                                                                                                                                                                                                                                                                                                                                  |
-| rocksdb.option_path                             |                                                                                                                                      | The YAML file for configuring ToplingDB/RocksDB parameters.                                                                                                                                                                                                                                                                                                                                                                |
-| rocksdb.open_http                               | false                                                                                                                                | Whether to start ToplingDB HTTP service. Security: enable only in trusted networks and restrict access (firewall/ACL); the port and document_root are configured in the YAML (http.listening_ports/document_root).                                                                                                                                                                                                                                                                                                                                                                |
-| rocksdb.allow_mmap_reads                        | false                                                                                                                                | Allow the OS to mmap file for reading sst tables.                                                                                                                                                                                                                                                                                                                                                     |
-| rocksdb.allow_mmap_writes                       | false                                                                                                                                | Allow the OS to mmap file for writing.                                                                                                                                                                                                                                                                                                                                                                |
-| rocksdb.block_cache_capacity                    | 8388608                                                                                                                              | The amount of block cache in bytes that will be used by RocksDB, 0 means no block cache.                                                                                                                                                                                                                                                                                                              |
-| rocksdb.bloom_filter_bits_per_key               | -1                                                                                                                                   | The bits per key in bloom filter, a good value is 10, which yields a filter with ~ 1% false positive rate, -1 means no bloom filter.                                                                                                                                                                                                                                                                  |
-| rocksdb.bloom_filter_block_based_mode           | false                                                                                                                                | Use block based filter rather than full filter.                                                                                                                                                                                                                                                                                                                                                       |
-| rocksdb.bloom_filter_whole_key_filtering        | true                                                                                                                                 | True if place whole keys in the bloom filter, else place the prefix of keys.                                                                                                                                                                                                                                                                                                                          |
-| rocksdb.bottommost_compression                  | NO_COMPRESSION                                                                                                                       | The compression algorithm for the bottommost level of RocksDB, allowed values are none/snappy/z/bzip2/lz4/lz4hc/xpress/zstd.                                                                                                                                                                                                                                                                          |
-| rocksdb.bulkload_mode                           | false                                                                                                                                | Switch to the mode to bulk load data into RocksDB.                                                                                                                                                                                                                                                                                                                                                    |
-| rocksdb.cache_index_and_filter_blocks           | false                                                                                                                                | Indicating if we'd put index/filter blocks to the block cache.                                                                                                                                                                                                                                                                                                                                        |
-| rocksdb.compaction_style                        | LEVEL                                                                                                                                | Set compaction style for RocksDB: LEVEL/UNIVERSAL/FIFO.                                                                                                                                                                                                                                                                                                                                               |
-| rocksdb.compression                             | SNAPPY_COMPRESSION                                                                                                                   | The compression algorithm for compressing blocks of RocksDB, allowed values are none/snappy/z/bzip2/lz4/lz4hc/xpress/zstd.                                                                                                                                                                                                                                                                            |
-| rocksdb.compression_per_level                   | [NO_COMPRESSION, NO_COMPRESSION, SNAPPY_COMPRESSION, SNAPPY_COMPRESSION, SNAPPY_COMPRESSION, SNAPPY_COMPRESSION, SNAPPY_COMPRESSION] | The compression algorithms for different levels of RocksDB, allowed values are none/snappy/z/bzip2/lz4/lz4hc/xpress/zstd.                                                                                                                                                                                                                                                                             |
-| rocksdb.delayed_write_rate                      | 16777216                                                                                                                             | The rate limit in bytes/s of user write requests when need to slow down if the compaction gets behind.                                                                                                                                                                                                                                                                                                |
-| rocksdb.log_level                               | INFO                                                                                                                                 | The info log level of RocksDB.                                                                                                                                                                                                                                                                                                                                                                        |
-| rocksdb.max_background_jobs                     | 8                                                                                                                                    | Maximum number of concurrent background jobs, including flushes and compactions.                                                                                                                                                                                                                                                                                                                      |
-| rocksdb.level_compaction_dynamic_level_bytes    | false                                                                                                                                | Whether to enable level_compaction_dynamic_level_bytes, if it's enabled we give max_bytes_for_level_multiplier a priority against max_bytes_for_level_base, the bytes of base level is dynamic for a more predictable LSM tree, it is useful to limit worse case space amplification. Turning this feature on/off for an existing DB can cause unexpected LSM tree structure so it's not recommended. |
-| rocksdb.max_bytes_for_level_base                | 536870912                                                                                                                            | The upper-bound of the total size of level-1 files in bytes.                                                                                                                                                                                                                                                                                                                                          |
-| rocksdb.max_bytes_for_level_multiplier          | 10.0                                                                                                                                 | The ratio between the total size of level (L+1) files and the total size of level L files for all L.                                                                                                                                                                                                                                                                                                  |
-| rocksdb.max_open_files                          | -1                                                                                                                                   | The maximum number of open files that can be cached by RocksDB, -1 means no limit.                                                                                                                                                                                                                                                                                                                    |
-| rocksdb.max_subcompactions                      | 4                                                                                                                                    | The value represents the maximum number of threads per compaction job.                                                                                                                                                                                                                                                                                                                                |
-| rocksdb.max_write_buffer_number                 | 6                                                                                                                                    | The maximum number of write buffers that are built up in memory.                                                                                                                                                                                                                                                                                                                                      |
-| rocksdb.max_write_buffer_number_to_maintain     | 0                                                                                                                                    | The total maximum number of write buffers to maintain in memory.                                                                                                                                                                                                                                                                                                                                      |
-| rocksdb.min_write_buffer_number_to_merge        | 2                                                                                                                                    | The minimum number of write buffers that will be merged together.                                                                                                                                                                                                                                                                                                                                     |
-| rocksdb.num_levels                              | 7                                                                                                                                    | Set the number of levels for this database.                                                                                                                                                                                                                                                                                                                                                           |
-| rocksdb.optimize_filters_for_hits               | false                                                                                                                                | This flag allows us to not store filters for the last level.                                                                                                                                                                                                                                                                                                                                          |
-| rocksdb.optimize_mode                           | true                                                                                                                                 | Optimize for heavy workloads and big datasets.                                                                                                                                                                                                                                                                                                                                                        |
-| rocksdb.pin_l0_filter_and_index_blocks_in_cache | false                                                                                                                                | Indicating if we'd put index/filter blocks to the block cache.                                                                                                                                                                                                                                                                                                                                        |
-| rocksdb.sst_path                                |                                                                                                                                      | The path for ingesting SST file into RocksDB.                                                                                                                                                                                                                                                                                                                                                         |
-| rocksdb.target_file_size_base                   | 67108864                                                                                                                             | The target file size for compaction in bytes.                                                                                                                                                                                                                                                                                                                                                         |
-| rocksdb.target_file_size_multiplier             | 1                                                                                                                                    | The size ratio between a level L file and a level (L+1) file.                                                                                                                                                                                                                                                                                                                                         |
-| rocksdb.use_direct_io_for_flush_and_compaction  | false                                                                                                                                | Enable the OS to use direct read/writes in flush and compaction.                                                                                                                                                                                                                                                                                                                                      |
-| rocksdb.use_direct_reads                        | false                                                                                                                                | Enable the OS to use direct I/O for reading sst tables.                                                                                                                                                                                                                                                                                                                                               |
-| rocksdb.write_buffer_size                       | 134217728                                                                                                                            | Amount of data in bytes to build up in memory.                                                                                                                                                                                                                                                                                                                                                        |
-| rocksdb.max_manifest_file_size                  | 104857600                                                                                                                            | The max size of manifest file in bytes.                                                                                                                                                                                                                                                                                                                                                               |
-| rocksdb.skip_stats_update_on_db_open            | false                                                                                                                                | Whether to skip statistics update when opening the database, setting this flag true allows us to not update statistics.                                                                                                                                                                                                                                                                               |
-| rocksdb.max_file_opening_threads                | 16                                                                                                                                   | The max number of threads used to open files.                                                                                                                                                                                                                                                                                                                                                         |
-| rocksdb.max_total_wal_size                      | 0                                                                                                                                    | Total size of WAL files in bytes. Once WALs exceed this size, we will start forcing the flush of column families related, 0 means no limit.                                                                                                                                                                                                                                                           |
-| rocksdb.db_write_buffer_size                    | 0                                                                                                                                    | Total size of write buffers in bytes across all column families, 0 means no limit.                                                                                                                                                                                                                                                                                                                    |
-| rocksdb.delete_obsolete_files_period            | 21600                                                                                                                                | The periodicity in seconds when obsolete files get deleted, 0 means always do full purge.                                                                                                                                                                                                                                                                                                             |
-| rocksdb.hard_pending_compaction_bytes_limit     | 274877906944                                                                                                                         | The hard limit to impose on pending compaction in bytes.                                                                                                                                                                                                                                                                                                                                              |
-| rocksdb.level0_file_num_compaction_trigger      | 2                                                                                                                                    | Number of files to trigger level-0 compaction.                                                                                                                                                                                                                                                                                                                                                        |
-| rocksdb.level0_slowdown_writes_trigger          | 20                                                                                                                                   | Soft limit on number of level-0 files for slowing down writes.                                                                                                                                                                                                                                                                                                                                        |
-| rocksdb.level0_stop_writes_trigger              | 36                                                                                                                                   | Hard limit on number of level-0 files for stopping writes.                                                                                                                                                                                                                                                                                                                                            |
-| rocksdb.soft_pending_compaction_bytes_limit     | 68719476736                                                                                                                          | The soft limit to impose on pending compaction in bytes.                                                                                                                                                                                                                                                                                                                                              |
+| config option                                   | default value                                    | description                                                                                                                                                                                                                                                                                                                                                                                           |
+|-------------------------------------------------|--------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| backend                                         |                                                  | Must be set to `rocksdb`.                                                                                                                                                                                                                                                                                                                                                                             |
+| serializer                                      |                                                  | Must be set to `binary`.                                                                                                                                                                                                                                                                                                                                                                              |
+| rocksdb.data_path                               | rocksdb-data/data                                | The path for storing data of RocksDB.                                                                                                                                                                                                                                                                                                                                                                 |
+| rocksdb.wal_path                                | rocksdb-data/wal                                 | The path for storing WAL of RocksDB.                                                                                                                                                                                                                                                                                                                                                                  |
+| rocksdb.sst_path                                |                                                  | The path for ingesting SST file into RocksDB.                                                                                                                                                                                                                                                                                                                                                         |
+| rocksdb.data_disks                              | []                                               | The optimized disks for storing data of RocksDB. The format of each element: `STORE/TABLE: /path/disk`.Allowed keys are [g/vertex, g/edge_out, g/edge_in, g/vertex_label_index, g/edge_label_index, g/range_int_index, g/range_float_index, g/range_long_index, g/range_double_index, g/secondary_index, g/search_index, g/shard_index, g/unique_index, g/olap]                                          |
+| rocksdb.log_level                               | INFO                                             | The info log level of RocksDB.                                                                                                                                                                                                                                                                                                                                                                        |
+| rocksdb.num_levels                              | 7                                                | Set the number of levels for this database.                                                                                                                                                                                                                                                                                                                                                           |
+| rocksdb.compaction_style                        | LEVEL                                            | Set compaction style for RocksDB: LEVEL/UNIVERSAL/FIFO.                                                                                                                                                                                                                                                                                                                                               |
+| rocksdb.optimize_mode                           | true                                             | Optimize for heavy workloads and big datasets.                                                                                                                                                                                                                                                                                                                                                        |
+| rocksdb.bulkload_mode                           | false                                            | Switch to the mode to bulk load data into RocksDB.                                                                                                                                                                                                                                                                                                                                                    |
+| rocksdb.compression_per_level                   | [none, none, snappy, snappy, snappy, snappy, snappy] | The compression algorithms for different levels of RocksDB, allowed values are none/snappy/z/bzip2/lz4/lz4hc/xpress/zstd.                                                                                                                                                                                                                                                                          |
+| rocksdb.bottommost_compression                  | none                                             | The compression algorithm for the bottommost level of RocksDB, allowed values are none/snappy/z/bzip2/lz4/lz4hc/xpress/zstd.                                                                                                                                                                                                                                                                          |
+| rocksdb.compression                             | snappy                                           | The compression algorithm for compressing blocks of RocksDB, allowed values are none/snappy/z/bzip2/lz4/lz4hc/xpress/zstd.                                                                                                                                                                                                                                                                            |
+| rocksdb.max_background_jobs                     | 8                                                | Maximum number of concurrent background jobs, including flushes and compactions.                                                                                                                                                                                                                                                                                                                      |
+| rocksdb.max_subcompactions                      | 4                                                | The value represents the maximum number of threads per compaction job.                                                                                                                                                                                                                                                                                                                                |
+| rocksdb.delayed_write_rate                      | 16777216                                         | The rate limit in bytes/s of user write requests when need to slow down if the compaction gets behind.                                                                                                                                                                                                                                                                                                 |
+| rocksdb.max_open_files                          | -1                                               | The maximum number of open files that can be cached by RocksDB, -1 means no limit.                                                                                                                                                                                                                                                                                                                    |
+| rocksdb.max_manifest_file_size                  | 104857600                                        | The max size of manifest file in bytes.                                                                                                                                                                                                                                                                                                                                                               |
+| rocksdb.skip_stats_update_on_db_open            | false                                            | Whether to skip statistics update when opening the database, setting this flag true allows us to not update statistics.                                                                                                                                                                                                                                                                                |
+| rocksdb.skip_check_sst_size_on_db_open          | false                                            | Whether to skip checking sizes of all sst files when opening the database.                                                                                                                                                                                                                                                                                                                            |
+| rocksdb.max_file_opening_threads                | 16                                               | The max number of threads used to open files.                                                                                                                                                                                                                                                                                                                                                         |
+| rocksdb.max_total_wal_size                      | 0                                                | Total size of WAL files in bytes. Once WALs exceed this size, we will start forcing the flush of column families related, 0 means no limit.                                                                                                                                                                                                                                                            |
+| rocksdb.bytes_per_sync                          | 0                                                | Allows OS to incrementally sync SST files to disk while they are being written, asynchronously in the background. Issue one request for every bytes_per_sync written. 0 turns it off.                                                                                                                                                                                                                   |
+| rocksdb.wal_bytes_per_sync                      | 0                                                | Allows OS to incrementally sync WAL files to disk while they are being written, asynchronously in the background. Issue one request for every bytes_per_sync written. 0 turns it off.                                                                                                                                                                                                                   |
+| rocksdb.strict_bytes_per_sync                   | false                                            | When true, guarantees SST/WAL files have at most bytes_per_sync/wal_bytes_per_sync bytes submitted for writeback at any given time. This can be used to handle cases where processing speed exceeds I/O speed.                                                                                                                                                                                          |
+| rocksdb.db_write_buffer_size                    | 0                                                | Total size of write buffers in bytes across all column families, 0 means no limit.                                                                                                                                                                                                                                                                                                                    |
+| rocksdb.log_readahead_size                      | 0                                                | The number of bytes to prefetch when reading the log. 0 means the prefetching is disabled.                                                                                                                                                                                                                                                                                                             |
+| rocksdb.compaction_readahead_size               | 0                                                | The number of bytes to perform bigger reads when doing compaction. If running RocksDB on spinning disks, you should set this to at least 2MB. 0 means the prefetching is disabled.                                                                                                                                                                                                                     |
+| rocksdb.row_cache_capacity                      | 0                                                | The capacity in bytes of global cache for table-level rows. 0 means the row_cache is disabled.                                                                                                                                                                                                                                                                                                         |
+| rocksdb.delete_obsolete_files_period            | 21600                                            | The periodicity in seconds when obsolete files get deleted, 0 means always do full purge.                                                                                                                                                                                                                                                                                                             |
+| rocksdb.write_buffer_size                       | 134217728                                        | Amount of data in bytes to build up in memory.                                                                                                                                                                                                                                                                                                                                                        |
+| rocksdb.max_write_buffer_number                 | 6                                                | The maximum number of write buffers that are built up in memory.                                                                                                                                                                                                                                                                                                                                      |
+| rocksdb.min_write_buffer_number_to_merge        | 2                                                | The minimum number of write buffers that will be merged together.                                                                                                                                                                                                                                                                                                                                     |
+| rocksdb.max_write_buffer_number_to_maintain     | 0                                                | The total maximum number of write buffers to maintain in memory for conflict checking when transactions are used.                                                                                                                                                                                                                                                                                      |
+| rocksdb.memtable_bloom_size_ratio               | 0.0                                              | If prefix-extractor is set and memtable_bloom_size_ratio is not 0, or if memtable_whole_key_filtering is set true, create bloom filter for memtable with the size of write_buffer_size * memtable_bloom_size_ratio. If it is larger than 0.25, it is santinized to 0.25.                                                                                                                                 |
+| rocksdb.memtable_whole_key_filtering            | false                                            | Enable whole key bloom filter in memtable, it can potentially reduce CPU usage for point-look-ups. Note this will only take effect if memtable_bloom_size_ratio > 0.                                                                                                                                                                                                                                   |
+| rocksdb.memtable_huge_page_size                 | 0                                                | The page size for huge page TLB for bloom in memtable. If <= 0, not allocate from huge page TLB but from malloc.                                                                                                                                                                                                                                                                                       |
+| rocksdb.inplace_update_support                  | false                                            | Allows thread-safe inplace updates if a put key exists in current memtable and sizeof new value is smaller.                                                                                                                                                                                                                                                                                            |
+| rocksdb.level_compaction_dynamic_level_bytes    | false                                            | Whether to enable level_compaction_dynamic_level_bytes, if it's enabled we give max_bytes_for_level_multiplier a priority against max_bytes_for_level_base, the bytes of base level is dynamic for a more predictable LSM tree, it is useful to limit worse case space amplification. Turning this feature on/off for an existing DB can cause unexpected LSM tree structure so it's not recommended.   |
+| rocksdb.max_bytes_for_level_base                | 536870912                                        | The upper-bound of the total size of level-1 files in bytes.                                                                                                                                                                                                                                                                                                                                           |
+| rocksdb.max_bytes_for_level_multiplier          | 10.0                                             | The ratio between the total size of level (L+1) files and the total size of level L files for all L.                                                                                                                                                                                                                                                                                                   |
+| rocksdb.target_file_size_base                   | 67108864                                         | The target file size for compaction in bytes.                                                                                                                                                                                                                                                                                                                                                         |
+| rocksdb.target_file_size_multiplier             | 1                                                | The size ratio between a level L file and a level (L+1) file.                                                                                                                                                                                                                                                                                                                                         |
+| rocksdb.level0_file_num_compaction_trigger      | 2                                                | Number of files to trigger level-0 compaction.                                                                                                                                                                                                                                                                                                                                                        |
+| rocksdb.level0_slowdown_writes_trigger          | 20                                               | Soft limit on number of level-0 files for slowing down writes.                                                                                                                                                                                                                                                                                                                                        |
+| rocksdb.level0_stop_writes_trigger              | 36                                               | Hard limit on number of level-0 files for stopping writes.                                                                                                                                                                                                                                                                                                                                            |
+| rocksdb.soft_pending_compaction_bytes_limit     | 68719476736                                      | The soft limit to impose on pending compaction in bytes.                                                                                                                                                                                                                                                                                                                                              |
+| rocksdb.hard_pending_compaction_bytes_limit     | 274877906944                                     | The hard limit to impose on pending compaction in bytes.                                                                                                                                                                                                                                                                                                                                              |
+| rocksdb.allow_mmap_writes                       | false                                            | Allow the OS to mmap file for writing.                                                                                                                                                                                                                                                                                                                                                                |
+| rocksdb.allow_mmap_reads                        | false                                            | Allow the OS to mmap file for reading sst tables.                                                                                                                                                                                                                                                                                                                                                     |
+| rocksdb.use_direct_reads                        | false                                            | Enable the OS to use direct I/O for reading sst tables.                                                                                                                                                                                                                                                                                                                                               |
+| rocksdb.use_direct_io_for_flush_and_compaction  | false                                            | Enable the OS to use direct read/writes in flush and compaction.                                                                                                                                                                                                                                                                                                                                      |
+| rocksdb.use_fsync                               | false                                            | If true, then every store to stable storage will issue a fsync.                                                                                                                                                                                                                                                                                                                                       |
+| rocksdb.atomic_flush                            | false                                            | If true, flushing multiple column families and committing their results atomically to MANIFEST. Note that it's not necessary to set atomic_flush=true if WAL is always enabled.                                                                                                                                                                                                                        |
+| rocksdb.format_version                          | 5                                                | The format version of BlockBasedTable, allowed values are 0~5.                                                                                                                                                                                                                                                                                                                                        |
+| rocksdb.index_type                              | kBinarySearch                                    | The index type used to lookup between data blocks with the sst table, allowed values are [kBinarySearch,kHashSearch,kTwoLevelIndexSearch,kBinarySearchWithFirstKey].                                                                                                                                                                                                                                   |
+| rocksdb.data_block_index_type                   | kDataBlockBinarySearch                           | The search type used to point lookup in data block with the sst table, allowed values are [kDataBlockBinarySearch,kDataBlockBinaryAndHash].                                                                                                                                                                                                                                                            |
+| rocksdb.data_block_hash_table_util_ratio        | 0.75                                             | The hash table utilization ratio value of entries/buckets. It is valid only when data_block_index_type=kDataBlockBinaryAndHash.                                                                                                                                                                                                                                                                        |
+| rocksdb.block_size                              | 4096                                             | Approximate size of user data packed per block, Note that it corresponds to uncompressed data.                                                                                                                                                                                                                                                                                                         |
+| rocksdb.block_size_deviation                    | 10                                               | The percentage of free space used to close a block.                                                                                                                                                                                                                                                                                                                                                   |
+| rocksdb.block_restart_interval                  | 16                                               | The block restart interval for delta encoding in blocks.                                                                                                                                                                                                                                                                                                                                              |
+| rocksdb.block_cache_capacity                    | 8388608                                          | The amount of block cache in bytes that will be used by RocksDB, 0 means no block cache.                                                                                                                                                                                                                                                                                                              |
+| rocksdb.cache_index_and_filter_blocks           | true                                             | Set this option true if we'd put index/filter blocks to the block cache.                                                                                                                                                                                                                                                                                                                              |
+| rocksdb.pin_l0_filter_and_index_blocks_in_cache | true                                             | Set this option true if we'd pin L0 index/filter blocks to the block cache.                                                                                                                                                                                                                                                                                                                           |
+| rocksdb.bloom_filter_bits_per_key               | -1                                               | The bits per key in bloom filter, a good value is 10, which yields a filter with ~ 1% false positive rate. Set bloom_filter_bits_per_key > 0 to enable bloom filter, -1 means no bloom filter (0~0.5 round down to no filter).                                                                                                                                                                          |
+| rocksdb.bloom_filter_block_based_mode           | false                                            | If bloom filter is enabled, set this option true to use block based filter rather than full filter.                                                                                                                                                                                                                                                                                                    |
+| rocksdb.bloom_filter_whole_key_filtering        | true                                             | If bloom filter is enabled, set this option true to place whole keys in the bloom filter, else place the prefix of keys when prefix-extractor is set.                                                                                                                                                                                                                                                   |
+| rocksdb.optimize_filters_for_hits               | true                                             | If bloom filter is enabled, this flag allows us to not store filters for the last level. set this option true to optimize the filters mainly for cases where keys are found rather than also optimize for keys missed.                                                                                                                                                                                  |
+| rocksdb.partition_filters_and_indexes           | false                                            | If bloom filter is enabled, set this option true to use partitioned full filters and indexes for each sst file. This option is incompatible with block-based filters.                                                                                                                                                                                                                                  |
+| rocksdb.pin_top_level_index_and_filter          | true                                             | If partition_filters_and_indexes is set true, set this option true if we'd pin top-level index of partitioned filter and index blocks to the block cache.                                                                                                                                                                                                                                              |
+| rocksdb.prefix_extractor_n_bytes                | 0                                                | The prefix-extractor uses the first N bytes of a key as its prefix, it will use the full key when a key is shorter than the N. 0 means unset prefix-extractor.                                                                                                                                                                                                                                         |
 
 > [!DETAILS]- **K8s Config Options (Optional)**
 > Corresponding configuration file `rest-server.properties`
 >
-> | config option    | default value                 | description                              |
-> |------------------|-------------------------------|------------------------------------------|
-> | server.use_k8s   | false                         | Whether to enable K8s multi-tenancy mode. |
-> | k8s.namespace    | hugegraph-computer-system     | K8s namespace for compute jobs.          |
-> | k8s.kubeconfig   |                               | Path to kubeconfig file.                 |
+> | config option                 | default value             | description                                                                                                     |
+> |-------------------------------|---------------------------|-----------------------------------------------------------------------------------------------------------------|
+> | server.use_k8s                | false                     | Whether to use k8s to support multiple tenancy.                                                                 |
+> | server.deploy_in_k8s          | false                     | Whether to deploy server in k8s.                                                                                |
+> | server.urls_to_pd             | http://0.0.0.0:8080       | Used as the server address reserved for PD and provided to clients, only used when starting the server in k8s.   |
+> | server.k8s_url                | https://127.0.0.1:8888    | The url of k8s.                                                                                                 |
+> | server.k8s_use_ca             | false                     | Whether to use ca to k8s api server.                                                                            |
+> | server.k8s_ca                 |                           | The ca file of k8s api server.                                                                                  |
+> | server.k8s_client_ca          |                           | The client ca file of k8s api server.                                                                           |
+> | server.k8s_client_key         |                           | The client key file of k8s api server.                                                                          |
+> | k8s.api                       | false                     | The k8s api start status when the computer service is enabled.                                                  |
+> | k8s.namespace                 | hugegraph-computer-system | The namespace used for k8s work when the computer service is enabled.                                            |
+> | k8s.kubeconfig                |                           | The k8s kube config file when the computer service is enabled.                                                   |
+> | k8s.hugegraph_url             |                           | The hugegraph url for k8s work when the computer service is enabled.                                             |
+> | k8s.enable_internal_algorithm | true                      | Whether to open k8s internal algorithm.                                                                          |
+> | service.access_pd_name        | hg                        | Service name for server to access pd service.                                                                   |
+> | service.access_pd_token       |                           | Service token for server to access pd service.                                                                  |
+> | server.k8s_oltp_image          | 127.0.0.1/kgs_bd/hugegraphserver:3.0.0 | The oltp server image of k8s.                                                                    |
+> | server.k8s_olap_image         | hugegraph/hugegraph-server:v1 | The olap server image of k8s.                                                                    |
+> | server.k8s_storage_image      | hugegraph/hugegraph-server:v1 | The storage server image of k8s.                                                                 |
+> | server.default_oltp_k8s_namespace | hugegraph-server      | The default oltp namespace for HugeGraph default graph space.                                     |
+> | server.default_olap_k8s_namespace | hugegraph-computer-system | The default olap namespace for HugeGraph default graph space.                                 |
+> | k8s.internal_algorithm        | [page-rank, degree-centrality, wcc, triangle-count, rings, rings-with-filter, betweenness-centrality, closeness-centrality, lpa, links, kcore, louvain, clustering-coefficient, ppr, subgraph-match] | The names of the built-in k8s algorithms.        |
+> | k8s.algorithms                | See `ServerOptions.K8S_ALGORITHMS` | The `name:paramsClass` mapping of the built-in k8s algorithms.                              |

Review Comment:
   🧹 Two gaps in this block, which the PR description says was "expanded to the full k8s/PD-service set from ServerOptions":
   
   1. `k8s.internal_algorithm_image_url` is missing (`ServerOptions.java:687-693`, default `""`, description "K8s internal algorithm image url"). Comparing this page's key set against all 278 distinct option keys in the eight holders at `36811483a`, it is the only one left undocumented, on both the en and cn pages.
   
   2. This row is the only one in the file whose default column holds a Java symbol rather than a value. `K8S_ALGORITHMS` is a `ConfigListOption` defaulting to one `name:paramsClass` entry per name in `k8s.internal_algorithm`, starting `page-rank:org.apache.hugegraph.computer.algorithm.centrality.pagerank.PageRankParams`. The block is already collapsed, so listing them is fine; otherwise "one `name:paramsClass` entry per algorithm in `k8s.internal_algorithm`" would say more than a symbol the reader cannot open.
   
   Same block on `content/cn/docs/config/config-option.md:325`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


Re: [PR] doc(server): sync server-core with master [hugegraph-doc]

Posted by "imbajin (via GitHub)" <gi...@apache.org>.
imbajin merged PR #488:
URL: https://github.com/apache/hugegraph-doc/pull/488


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org