Watch the 7.3 Webinar On-Demand
This new release brings updates to Universal Storage, query optimization, and usability that you won’t want to miss.
SingleStore Managed Service does not support this command.
Attaches all leaves in a cluster that are currently in the
ATTACH LEAF ALL [FORCE]
ATTACH LEAF ALLis equivalent to running
ATTACH LEAFon every leaf in a cluster that is currently in the
detachedstate. If you want the leaves to rebalance after reattaching, you must run
REBALANCE PARTITIONSafterward. This will rebalance and synchronize all partitions in one operation.
FORCEis optional. Using
FORCEoverrides any conflicts that would prevent
ATTACH LEAF ALLfrom running. In practice, this happens when the data on the leaf has diverged away from the current state of the cluster (for example, a database was recreated while the leaf was down).
false. For more information see SET GLOBAL .
ATTACH LEAF ALL; Query OK, 1 row affected (0.99 sec)