Check Decommission Action
Description
Used to determine whether the specified BE can be decommissioned. For example, after the node being decommissioned, whether the remaining nodes can meet the space requirements and the number of replicas.
None
Query parameters
-
Specify one or more BEs, separated by commas. Such as:
ip1:port1,ip2:port2,...
.Where port is the heartbeat port of BE.
Response
Return a list of nodes that can be decommissioned
Check whether the specified BE node can be decommissioned
GET /api/check_decommission?host_ports=192.168.10.11:9050,192.168.10.11:9050
{
"msg": "OK",
"data": ["192.168.10.11:9050"],
"count": 0