You are viewing the documentation of an older version of the TiDB database (TiDB v4.0).

It is recommended that you 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.


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.


-h, --help

Prints the help information.


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

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

Was this page helpful?