[
https://issues.apache.org/jira/browse/IGNITE-26459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexander Lapin reassigned IGNITE-26459:
----------------------------------------
Assignee: Egor Kuts (was: Mikhail Efremov)
> Add ability to explicitly trigger dataNodes recalculation via CLI command
> -------------------------------------------------------------------------
>
> Key: IGNITE-26459
> URL: https://issues.apache.org/jira/browse/IGNITE-26459
> Project: Ignite
> Issue Type: Improvement
> Components: distribution zones ai3
> Reporter: Alexander Lapin
> Assignee: Egor Kuts
> Priority: Major
> Labels: ignite-3
>
> *Description*
> The main goal is to create a new CLI method (follow the
> [guidance|https://github.com/apache/ignite-3/blob/main/modules/cli/README.md]).
> The current approved command is {{cluster zone datanodes recalculate}} and
> the command should accept a list of zone names to recalculate data nodes for.
> The call should use new REST POST method for data nodes recalculation from
> IGNITE-26544. The corresponding CLI tests should be provided.
> *Motivation*
> In case of scaleUp/Down disabled the only way to adjust dataNodes and thus
> recalculate assignments is to alter zone filter. Despite the fact that it
> works we need a more user-friendly way to do this. Meaning that we need new
> CLI command within 'distribution' group. We already implemented REST API
> module that we can reuse with {{*Api}} object through
> {{ApiClientFactory#getClient}}.
> *Definition of done*
> # New CLI commands are created with the list of zone names as the argument to
> call.
> # CLI tests for the new method.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)