doc(server): sync backend-hstore with master - #486
Open
bitflicker64 wants to merge 1 commit into
Open
Conversation
Add config/config-backend-hstore.md in English and Chinese. The hstore distributed backend had no configuration page: how to select it, the two hstore.* options with their defaults, the rest-server and graph keys that only take effect with PD, how the Server routes requests to Stores through PD, and the query features the backend does not support were all undocumented.
bitflicker64
force-pushed
the
doc-sync/server-backend-hstore
branch
from
September 5, 2026 19:12
6c16fe8 to
987fa8c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the missing configuration page for the
hstoredistributed backend, in English and Chinese. Every facttraces to the HugeGraph master branch.
The page is not yet linked from the sidebar, because nav registration for all three new backend
pages has to land as a single later change.
hstorehad no configuration page at all, so the backend was only reachable through the PD and Store quickstart pages.hugegraph-hstore/src/main/java/org/apache/hugegraph/backend/store/hstore/HstoreProvider.java:30-53,hugegraph-core/src/main/java/org/apache/hugegraph/StandardHugeGraph.java:266-271,281-285,613-621,664-669,1651-1656,hugegraph-core/src/main/java/org/apache/hugegraph/backend/tx/SchemaTransactionV2.java:72,84,648-650,hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/BackendStoreInfo.java:42-48,hugegraph-dist/src/main/java/org/apache/hugegraph/cmd/InitStore.java:113-122UpversusPendingstore registration rule, and the PD/Store gRPC and REST default ports. Links to the PD and Store quickstart pages.hugegraph-pd/hg-pd-core/src/main/java/org/apache/hugegraph/pd/StoreNodeService.java:160-167,218-220,hugegraph-pd/hg-pd-dist/src/assembly/static/conf/application.yml:38-55,hugegraph-store/hg-store-dist/src/assembly/static/conf/application.yml:32-47serializer=binaryis needed, howstorebecomes the graph name PD sees, or thatpd.peersis read from the graph config.usePDswitch inrest-server.properties, the inheritance ofpd.peersfrom the server config, the shippedhstore.properties.template, the hstore Docker image swap and therocksdb-onlyMaven profile.conf/graphs/hstore.properties.template:25-33,conf/rest-server.properties:26-27,hugegraph-core/src/main/java/org/apache/hugegraph/config/CoreOptions.java:47-82,649-654,679-685,hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/BackendProviderFactory.java:48-49,61-62,70,hugegraph-core/src/main/java/org/apache/hugegraph/backend/store/BackendStoreProvider.java:28-30,hugegraph-dist/src/main/java/org/apache/hugegraph/dist/RegisterUtil.java:77-126,hugegraph-api/src/main/java/org/apache/hugegraph/core/GraphManager.java:251-260,342-372,1603-1642,hugegraph-server/Dockerfile-hstore:39-41,hugegraph-dist/pom.xml:38,294-304,hugegraph-dist/src/assembly/travis/start-server.sh:72-75hstore.partition_countandhstore.shard_countwere documented nowhere, including in the complete configuration manual.0and their descriptions, the validation error for a negative partition count, how PD interprets0and clamps a value above its own total, and the fact that no Server code readshstore.shard_countin this release.hugegraph-hstore/src/main/java/org/apache/hugegraph/backend/store/hstore/HstoreOptions.java:27-38,.../HstoreSessionsImpl.java:126-140,hugegraph-pd/hg-pd-core/src/main/java/org/apache/hugegraph/pd/PartitionService.java:425-445,hugegraph-pd/hg-pd-core/src/main/java/org/apache/hugegraph/pd/config/PDConfig.java:104-107,263-278init-store.shapplies wheninit_store.enabledisfalse.hugegraph-api/src/main/java/org/apache/hugegraph/config/ServerOptions.java:187-201,355-361,371-380,390-396,591-598,hugegraph-core/src/main/java/org/apache/hugegraph/config/CoreOptions.java:649-654,679-685,hugegraph-dist/src/main/java/org/apache/hugegraph/cmd/InitStore.java:86-92,113-122,202-238.../HstoreSessionsImpl.java:109-122,hugegraph-store/hg-store-client/src/main/java/org/apache/hugegraph/store/HgStoreClient.java:92-101,hugegraph-store/hg-store-client/src/main/java/org/apache/hugegraph/store/client/HgStoreNodePartitionerImpl.java:54-193hugegraph-hstore/src/main/java/org/apache/hugegraph/backend/store/hstore/HstoreFeatures.java:24-135GET /metrics/backendand what anodesvalue of0means.hugegraph-api/src/main/java/org/apache/hugegraph/api/metrics/MetricsAPI.java:85,113-134,.../HstoreMetrics.java:37-43,.../HstoreSessionsImpl.java:810-816Paths above are relative to
hugegraph-server/unless they start withhugegraph-pd/,hugegraph-store/,docker/orconf/.