Repository navigation
docs(pd): document the periodic leader balance settings - #547
Open
arshilkxwork wants to merge 1 commit into
Open
arshilkxwork wants to merge 1 commit into
arshilkxwork wants to merge 1 commit into
Conversation
apache/hugegraph#3356 adds pd.balance-leader-enable, pd.balance-leader-interval and pd.balance-leader-max-skew. Add them to the PD core table on the PD quickstart page, EN and CN, with a note on when a check or a transfer is skipped.
3 of 11 tasks
bitflicker64
approved these changes
Oct 26, 2026
bitflicker64
left a comment
Contributor
There was a problem hiding this comment.
Blocking: no. Score: 9.5/10. Summary: The pd.balance-leader-enable, pd.balance-leader-interval and pd.balance-leader-max-skew rows and the note under the table match apache/hugegraph#3356 at f8c3a952f (PDConfig defaults, distribution application.yml, the init() validation warning, and the skip and transfer checks in TaskScheduleService), and the EN and CN pages agree. This should merge after apache/hugegraph#3356, which is still open; if it changes before merging, these rows need another check.
This branch has not been deployed
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.
Docs for apache/hugegraph#3356 (apache/hugegraph#3356), which adds optional periodic partition leader balancing to PD with three new settings.
Updated in both EN and CN, in the PD core table of
quickstart/hugegraph/hugegraph-pd.md:pd.balance-leader-enable(false): run leader balancing on a timer on the PD leader.pd.balance-leader-interval(300seconds): time between checks, and the minimum time between two plans, counted from the last plan including a manualbalanceLeaderscall.pd.balance-leader-max-skew(2): the leader-count spread above which a check balances.A short paragraph under the table says the keys exist only in versions after 1.7.0, when a check or a single transfer is skipped, and that an invalid interval or skew leaves the feature off with a warning.
The text matches apache/hugegraph#3356 at f8c3a952f. This should merge after that PR, since no released PD has these settings yet.
I ran
git diff --check. I did not build the site locally.