keith-turner commented on code in PR #5887:
URL: https://github.com/apache/accumulo/pull/5887#discussion_r2356857794
##########
server/base/src/main/java/org/apache/accumulo/server/util/UpgradeUtil.java:
##########
@@ -78,10 +78,13 @@ static class Opts extends ConfigOpts {
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"
- + " marker in ZooKeeper that enables the Manager to perform an
upgrade.")
+ description = """
+ Start an upgrade of an Accumulo instance. The 'start' step is
intended to be run on the \
+ instance with the new version of software before any server
processes are started. Server processes \
+ should fail to start if this step is not run. 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 \
+ marker in ZooKeeper that enables the Manager to complete an
upgrade.""")
Review Comment:
made update to that sentence in b287107. Removed mentioned of setting
something in ZK because that seems like an impl detail. The message specifies
what will happen but not how. It mentions that servers will not start until
upgrade is started and then mentions that after upgrade is started that
starting severs will complete the upgrade.
--
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]