You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2024/12/17 16:30:00 UTC

[jira] [Commented] (HDDS-11946) Require all ozone repair commands to support a --dry-run option

    [ https://issues.apache.org/jira/browse/HDDS-11946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17906461#comment-17906461 ] 

Attila Doroszlai commented on HDDS-11946:
-----------------------------------------

FYI option can be added at root command and used at any level.

https://picocli.info/#_inherited_options

> Require all ozone repair commands to support a --dry-run option
> ---------------------------------------------------------------
>
>                 Key: HDDS-11946
>                 URL: https://issues.apache.org/jira/browse/HDDS-11946
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Rishabh Patel
>            Assignee: Sarveksha Yeshavantha Raju
>            Priority: Major
>
> For consistency and safety, all subcommands of {{ozone repair}} should support a {{--dry-run}} flag that displays what they would do if run, without making any modifications. We should look to enforce this at the subcommand level so that a test fails if any future subcommand does not implement this.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org