You are viewing an older version of this section. View current production version.
Detaches a leaf. Similar to REMOVE LEAF except that it keeps the leaf in the detached state instead of removing it entirely.
DETACH LEAF 'host':port
DETACH LEAFtransitions the leaf from the
onlinestate to the
DETACH_LEAFis useful if you would like to temporarily take down a leaf for repairs without erasing it from metadata.
ATTACH_LEAFto attached a leaf that is currently in a
- This command must be run on the master aggregator node (see Node Requirements for MemSQL Commands ).
memsql> DETACH LEAF '192.168.1.110':3306;