You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ethan Rose (Jira)" <ji...@apache.org> on 2023/03/07 18:42:00 UTC
[jira] [Commented] (HDDS-8100) Support repair commands from ozone CLI
[ https://issues.apache.org/jira/browse/HDDS-8100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17697580#comment-17697580 ]
Ethan Rose commented on HDDS-8100:
----------------------------------
One option is to add a different subcommand {{ozone repair}} that supports commands that fix problems with the cluster data. Commands that do repairs can be added under here. A few challenges with this:
* We should make sure the node being operated on is in the stopped state. This may be challenging since this command runs directly from the client. Some solutions:
** Depend on RocksDB locks to fail the command if another process is using the DB. This only works for repairs involving RocksDB.
** Add a manual prompt before commands that users must respond to before the tool runs. This could look like {{Is the Ozone Manager stopped (y/N)?}}
> Support repair commands from ozone CLI
> --------------------------------------
>
> Key: HDDS-8100
> URL: https://issues.apache.org/jira/browse/HDDS-8100
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Ethan Rose
> Priority: Major
>
> Currently {{ozone debug}} only offers read-only options. We have had the need for repair tools due to bugs in the past, and it would be good to have a framework and standard practice for adding these repair tools to ozone CLI.
--
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