[
https://issues.apache.org/jira/browse/HDDS-15490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gargi Jaiswal updated HDDS-15490:
---------------------------------
Fix Version/s: 2.2.0
> [DiskBalancer] Align batch CLI success messages with HEALTHY IN_SERVICE
> datanode selection
> ------------------------------------------------------------------------------------------
>
> Key: HDDS-15490
> URL: https://issues.apache.org/jira/browse/HDDS-15490
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: Ozone Datanode
> Reporter: Shilun Fan
> Assignee: Shilun Fan
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.2.0
>
>
> DiskBalancer batch mode uses the --in-service-datanodes option to query SCM
> for datanodes in both IN_SERVICE operational state and HEALTHY node state.
> The implementation already queries SCM with:
> - NodeOperationalState.IN_SERVICE
> - NodeState.HEALTHY
> The CLI help text also describes this option as sending requests to all
> available DataNodes in the HEALTHY and IN_SERVICE operational state.
> However, the success messages printed by the start, stop, and update
> subcommands currently say "all IN_SERVICE nodes", which is incomplete and
> inconsistent with the actual selection criteria.
> This improvement updates the batch-mode success messages to mention "all
> IN_SERVICE and HEALTHY nodes" for:
> - diskbalancer start --in-service-datanodes
> - diskbalancer stop --in-service-datanodes
> - diskbalancer update --in-service-datanodes
> The corresponding CLI unit test expectations should be updated as well.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]