public List<TConfigNodeLocation> filterConfigNodeThroughStatus(NodeStatus... status) {
    return nodeInfo.getRegisteredConfigNodes(
        getLoadManager().filterConfigNodeThroughStatus(status));
  }
Filter ConfigNodes through the specified NodeStatus.

@param status The specified NodeStatus
@return Filtered ConfigNodes with the specified NodeStatus
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/node/NodeManager.java