slfan1989 opened a new pull request, #10399:
URL: https://github.com/apache/ozone/pull/10399

   ## 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. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to