Skip to content

HDDS-15441. [DiskBalancer] Fix DiskBalancer documentation inconsistencies.#10399

Open
slfan1989 wants to merge 1 commit into
apache:masterfrom
slfan1989:HDDS-15441
Open

HDDS-15441. [DiskBalancer] Fix DiskBalancer documentation inconsistencies.#10399
slfan1989 wants to merge 1 commit into
apache:masterfrom
slfan1989:HDDS-15441

Conversation

@slfan1989
Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

This PR fixes several inconsistencies in the English and Chinese DiskBalancer documentation.

The DiskBalancer docs had examples and default values that did not match the current implementation:

  • The feature flag section said DiskBalancer should be enabled by setting the property to true, but the example used hdds.datanode.disk.balancer.enabled = false.

  • The --parallel-thread option documented the default as 1, while the code default is 5.

  • The Chinese doc documented --stop-after-disk-even default as false, while the code default is true.

  • The --container-states example used OPEN,CLOSED, but OPEN is rejected by DiskBalancer validation because open-to-write container states are not movable.

  • The Chinese configuration table had an extra table separator in the hdds.datanode.disk.balancer.enabled row.

  • This PR updates both DiskBalancer.md and DiskBalancer.zh.md so that the documented examples and defaults match the current code and avoid suggesting invalid configuration values.

What is the link to the Apache JIRA

HDDS-15441. [DiskBalancer] Fix DiskBalancer documentation inconsistencies.

How was this patch tested?

This is a documentation-only change.

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