dlmarion commented on code in PR #5383:
URL: https://github.com/apache/accumulo/pull/5383#discussion_r2037271368


##########
server/base/src/main/java/org/apache/accumulo/server/util/UpgradeUtil.java:
##########
@@ -48,6 +59,17 @@ static class Opts extends ConfigOpts {
         description = "prepare an older version instance for an upgrade to a 
newer non-bugfix release."
             + " This command should be run using the older version of software 
after the instance is shut down.")
     boolean prepare = false;
+
+    @Parameter(names = "--start",
+        description = "Start an upgrade of an Accumulo instance. This will 
check that 'accumulo upgrade --prepare'"
+            + " was run on the instance after it was shut down, perform 
pre-upgrade validation, and perform any"
+            + " upgrade steps that need to occur before the Manager is 
started. Finally it creates a mandatory"

Review Comment:
   In afb905d I added a test to confirm that the Manager fails when an upgrade 
is needed, but `accumulo upgrade --start` is not called.



-- 
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]

Reply via email to