Copilot commented on code in PR #8598:
URL: https://github.com/apache/ozone/pull/8598#discussion_r2138275672
##########
hadoop-hdds/docs/content/design/upgrade-dev-primer.md:
##########
@@ -84,12 +84,12 @@ An action run once during finalization of layout version
(feature). This action
Used to flush all transactions to disk, take a DB snapshot, and purge the
logs, leaving Ratis in a clean state without unapplied log entries. This
prepares the OM for upgrades/downgrades so that no request in the log is
applied to the database in the old version of the code in one OM, and the new
version of the code in another OM.
To prepare an OM quorum, run
-
- ozone admin om -id=<om-sevice-id> prepare
+
+ ozone admin om prepare -id=<om-sevice-id>
To cancel preparation of an OM quorum, run
-
- ozone admin om -id=<om-sevice-id> cancelprepare
+
+ ozone admin om cancelprepare -id=<om-sevice-id>
Review Comment:
Typo: '<om-sevice-id>' should be '<om-service-id>'.
##########
hadoop-hdds/docs/content/design/omprepare.md:
##########
@@ -42,19 +42,20 @@ author: Aravindan Vijayan
# Usage
## How do you prepare an Ozone manager quorum
- ozone admin om -id=<om-sevice-id> prepare
-
+
+ ozone admin om prepare -id=<om-sevice-id>
Review Comment:
Typo: '<om-sevice-id>' should be '<om-service-id>'.
```suggestion
ozone admin om prepare -id=<om-service-id>
```
##########
hadoop-hdds/docs/content/design/omprepare.md:
##########
@@ -42,19 +42,20 @@ author: Aravindan Vijayan
# Usage
## How do you prepare an Ozone manager quorum
- ozone admin om -id=<om-sevice-id> prepare
-
+
+ ozone admin om prepare -id=<om-sevice-id>
+
This leaves the Ozone manager in a state where it cannot accept new writes.
## How do you cancel a "prepared" Ozone manager quorum
In the case of a cancelled upgrade, the OM can be brought out off the
prepared state by using the following command.
-
- ozone admin om -id=<om-sevice-id> cancelprepare
+
+ ozone admin om cancelprepare -id=<om-sevice-id>
Review Comment:
Typo: '<om-sevice-id>' should be '<om-service-id>'.
```suggestion
ozone admin om cancelprepare -id=<om-service-id>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]