public Optional<TDataNodeLocation> getLowestLoadDataNode() {
    // TODO get real lowest load data node after scoring algorithm being implemented
    int dataNodeId = getLoadManager().getLowestLoadDataNode();
    return dataNodeId < 0
        ? Optional.empty()
        : Optional.of(getRegisteredDataNode(dataNodeId).getLocation());
  }
Get the DataNodeLocation of the DataNode which has the lowest loadScore.

@return TDataNodeLocation with the lowest loadScore
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/node/NodeManager.java