[
https://issues.apache.org/jira/browse/HDDS-12012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nandakumar updated HDDS-12012:
------------------------------
Fix Version/s: 2.0.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
The PR is merged!
Thanks [~adoroszlai] for the contribution.
> Defer ozone repair prompt after subcommand validation
> -----------------------------------------------------
>
> Key: HDDS-12012
> URL: https://issues.apache.org/jira/browse/HDDS-12012
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: Tools
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.0.0
>
>
> {{ozone repair}} shows warning prompt on startup. HDDS-11945 added logic to
> skip it when showing top-level usage. The goal of this task is to further
> improve this by deferring the prompt after all validations in subcommands
> before they actually start performing repair.
> So the prompt should not be shown for:
> - subcommand invoked without all required options and arguments
> - subcommand invoked with {{--help}}
> - subcommand with {{--dry-run}} (after HDDS-11946)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]