MySQL Shell 8.0

8.9.3 Repairing Member Servers and Clusters in an InnoDB ClusterSet

Depending on the issues or maintenance requirements for the cluster, the following operations are available for you to work with its member servers. Unless otherwise stated, use Cluster and ClusterSet objects that you fetched with an InnoDB Cluster administrator account or server configuration account, so that the default user account stored in the ClusterSet object has the correct permissions.

You cannot dissolve an InnoDB Cluster that is currently part of an InnoDB ClusterSet deployment unless it is the only cluster in the ClusterSet or the cluster is invalidated. In all other configurations, you must remove it from the InnoDB ClusterSet as described in Section 8.9.4, “Removing a Cluster from an InnoDB ClusterSet”.

As of MySQL Shell 8.0.32, if the cluster is the only cluster in the ClusterSet or the cluster is invalidated, you can use dba.dropMetadataSchema() or cluster.dissolve() on the cluster.