tiup cluster replay
When you perform a cluster operation such as upgrade or restart, the operation might fail due to cluster environment issues. If you re-perform the operation, you need to perform all the steps from the very beginning. If the cluster is large, re-performing these steps will take a long time. In this case, you can use the tiup cluster replay
command to retry the failed commands and skip the successfully performed steps.
Syntax
tiup cluster replay <audit-id> [flags]
<audit-id>
: theaudit-id
of the command to be retried. You can view the historical commands and theiraudit-id
s using thetiup cluster audit
command.
Option
-h, --help
Prints the help information.
Output
The output of the command corresponding to <audit-id>
.