Skip to content

fix(hugegraph): derive PD initial store count from store FQDNs - #3419

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

fix(hugegraph): derive PD initial store count from store FQDNs#3419
weicao merged 1 commit into
dev/hugegraph-release-1.0from
feat/hugegraph-pd-initial-store-count

Conversation

@weicao

@weicao weicao commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Summary

Child PR into dev/hugegraph-release-1.0.

Official HugeGraph PD requires pd.initial-store-count to match the expected Store count (3 for a 3-store cluster). start-pd.sh already builds HG_PD_INITIAL_STORE_LIST from STORE_POD_FQDNS but hardcoded HG_PD_INITIAL_STORE_COUNT=1. That can mark the cluster operational after the first Store and leave later Stores out of the first partition allocation.

Derive the default count from the Store FQDN list. An explicit HG_PD_INITIAL_STORE_COUNT still wins.

Test

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

Main PR: #3412

@weicao
weicao requested review from a team and leon-ape as code owners August 19, 2026 04:16
@weicao
weicao merged commit 9b1cc33 into dev/hugegraph-release-1.0 Aug 19, 2026
7 checks passed
@weicao
weicao deleted the feat/hugegraph-pd-initial-store-count branch August 19, 2026 04:18
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (bb20a02) to head (a26bdfb).
⚠️ Report is 1 commits behind head on dev/hugegraph-release-1.0.

Additional details and impacted files
@@                    Coverage Diff                    @@
##           dev/hugegraph-release-1.0   #3419   +/-   ##
=========================================================
  Coverage                       0.00%   0.00%           
=========================================================
  Files                             69      69           
  Lines                           7275    7275           
=========================================================
  Misses                          7275    7275           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants