Skip to content

fix(hugegraph): fail store start if PD health never succeeds - #3417

Merged
weicao merged 1 commit into
dev/hugegraph-release-1.0from
feat/hugegraph-store-wait-pd-failclosed
Aug 19, 2026
Merged

fix(hugegraph): fail store start if PD health never succeeds#3417
weicao merged 1 commit into
dev/hugegraph-release-1.0from
feat/hugegraph-store-wait-pd-failclosed

Conversation

@weicao

@weicao weicao commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Summary

Child PR into dev/hugegraph-release-1.0. Store start waited for PD /v1/health then started anyway if the wait expired. That can mark Store Ready while PD is down.

Fail closed after the bounded wait. Attempts and sleep are overridable for tests (HG_STORE_HEALTH_ATTEMPTS, HG_STORE_HEALTH_SLEEP).

Test

bash addons/hugegraph/tests/start_store_test.sh
bash addons/hugegraph/tests/contract_test.sh
HugeGraph addon offline contracts passed

Main PR: #3412

Store used to wait and then start anyway. Exit 1 after the bounded
PD /v1/health wait so a down PD cannot look like a Ready store.
@weicao
weicao requested review from a team and leon-ape as code owners August 19, 2026 01:23
@weicao
weicao merged commit f79df45 into dev/hugegraph-release-1.0 Aug 19, 2026
7 checks passed
@weicao
weicao deleted the feat/hugegraph-store-wait-pd-failclosed branch August 19, 2026 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant