Repository navigation
docs(store): document GET and distinguish from readiness checks - #555
Conversation
bitflicker64
left a comment
There was a problem hiding this comment.
Blocking: yes. Summary: The /-/lifecycle states, JSON shape and 404 behaviour match StoreProcessLifecycle in apache/hugegraph#3441, but that PR is unmerged, so both pages would document an endpoint no build serves, in wording that never names the build that does.
|
Thanks for the review @bitflicker64! Upstream Store implementation apache/hugegraph#3441 has now been merged into master for HugeGraph 1.8.0.
|
bitflicker64
left a comment
There was a problem hiding this comment.
Blocking: no. Score: 9/10. Summary: The /-/lifecycle path, {"status":0,"text":...} shape, four states, precedence and pre-1.8.0 404 match HgStoreStatusController and StoreProcessLifecycle on master after apache/hugegraph#3441, and the EN and CN pages agree.
Summary
Document Store process lifecycle observation endpoint
GET /-/lifecycleintroduced in HugeGraph 1.8.0 (apache/hugegraph#3441):GET /-/lifecycleto the Store read-only endpoint table in both Chinese and English documentation.STARTING,STARTED,STOPPING, andUNAVAILABLE.STARTEDis only local JVM/gRPC process readiness and NOT storage/cluster readiness; rolling updates and node replacements must verify PDGET /v1/storesforUpstate and per-partition Raft group health viaGET /v1/partitions.STARTED.Related PRs