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

    1. Check whether the specified BE node can be decommissioned

      1. GET /api/check_decommission?host_ports=192.168.10.11:9050,192.168.10.11:9050
      2. {
      3. "msg": "OK",
      4. "data": ["192.168.10.11:9050"],
      5. "count": 0