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 prune

When scaling in the cluster, for some components, TiUP does not immediately stop their services or delete their data. You need to wait for the data scheduling to complete and then manually execute the tiup cluster prune command to clean up.

Syntax

tiup cluster prune <cluster-name> [flags]

Option

-h, --help

  • Prints the help information.
  • Data type: BOOLEAN
  • Default: false

Output

The log of the cleanup process.

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

Was this page helpful?