Important

You are viewing the documentation of TiDB v6.0 (DMR). PingCAP does not provide bug fixes for v6.0. Any bugs will be fixed in future releases.

For general purposes, please use the latest LTS version of the TiDB database.

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>: the audit-id of the command to be retried. You can view the historical commands and their audit-ids using the tiup cluster audit command.

Option

-h, --help

Prints the help information.

Output

The output of the command corresponding to <audit-id>.

<< Back to the previous page - TiUP Cluster command list

Was this page helpful?