管理复制节点
ALTER CLUSTER posts UPDATE nodesPOST /cli -d "
ALTER CLUSTER posts UPDATE nodes
"$params = [
'cluster' => 'posts',
'body' => [
'operation' => 'update',
]
];
$response = $client->cluster()->alter($params); utilsApi.sql('ALTER CLUSTER posts UPDATE nodes'){u'error': u'', u'total': 0, u'warning': u''}res = await utilsApi.sql('ALTER CLUSTER posts UPDATE nodes');{"total":0,"error":"","warning":""}从集群中移除节点
最后更新于