Skip to content

doc:fix the url of node status checking#414

Merged
imbajin merged 4 commits intoapache:masterfrom
JisoLya:master
Aug 5, 2025
Merged

doc:fix the url of node status checking#414
imbajin merged 4 commits intoapache:masterfrom
JisoLya:master

Conversation

@JisoLya
Copy link
Copy Markdown
Contributor

@JisoLya JisoLya commented Aug 4, 2025

Fix the incorrect url in store node health checking.

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. bug Something isn't working labels Aug 4, 2025

如果Store配置成功,上述接口的响应中应该包含当前节点的状态信息,状态为Up表示节点正常运行,这里只展示了一个节点配置成功的响应,如果三个节点都配置成功并正在运行,响应中`storeId`列表应该包含三个id,并且`stateCountMap`中`Up`、`numOfService`、`numOfNormalService`三个字段应该为3。
```JSON
{"message":"OK","data":{"stores":[{"storeId":8319292642220586694,"address":"127.0.0.1:8500","raftAddress":"127.0.0.1:8510","version":"","state":"Up","deployPath":"/Users/{your_user_name}/hugegraph/apache-hugegraph-incubating-1.5.0/apache-hugegraph-store-incubating-1.5.0/lib/hg-store-node-1.5.0.jar","dataPath":"./storage","startTimeStamp":1754027127969,"registedTimeStamp":1754027127969,"lastHeartBeat":1754027909444,"capacity":494384795648,"available":346535829504,"partitionCount":0,"graphSize":0,"keyCount":0,"leaderCount":0,"serviceName":"127.0.0.1:8500-store","serviceVersion":"","serviceCreatedTimeStamp":1754027127000,"partitions":[]}],"stateCountMap":{"Up":1},"numOfService":1,"numOfNormalService":1},"status":0}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format it for user friendly

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format it for user friendly

done~

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Aug 4, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Aug 5, 2025
@imbajin imbajin merged commit d62178b into apache:master Aug 5, 2025
1 check passed
github-actions bot pushed a commit that referenced this pull request Aug 5, 2025
* doc:fix the url of node status checking

* doc: reformat json string

---------

Co-authored-by: imbajin <jin@apache.org> d62178b
imbajin added a commit to hugegraph/hugegraph-doc that referenced this pull request Aug 5, 2025
* doc:fix the url of node status checking

* doc: reformat json string


---------

Co-authored-by: imbajin <jin@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants