ALTER CLUSTER SOFTFAIL
This page is part of MariaDB's Documentation.
The parent of this page is: SQL Statements for MariaDB Xpand
Topics on this page:
Overview
Starts a softfail process for one or more nodes, which configures the Rebalancer to move data off of the nodes so that they can be safely removed from the cluster.
DETAILS
ALTER CLUSTER SOFTFAIL node-id[, node-id...]
This statement softfails Xpand Nodes. It configures the Rebalancer to begin moving replicas off of the designated nodes. Once the rebalancer process finishes, run the ALTER CLUSTER REFORM statement, which initiates a group change to remove the nodes.
Note
It is recommended that you run this operation on a node other than the one you want to remove.
Before softfailing Xpand Nodes, consider the following:
Xpand requires a minimum of three Xpand Nodes to support production systems.
When using zones, Xpand requires a minimum of three zones.
When using zones, Xpand requires an equal number of nodes per zone.
The target cluster must have sufficient disk space.