@Override
  public TPipeConfigTransferResp handleTransferConfigPlan(TPipeConfigTransferReq req) {
    TSStatus status = confirmLeader();
    if (status.getCode() != TSStatusCode.SUCCESS_STATUS.getStatusCode()) {
      return new TPipeConfigTransferResp(status);
    }
    TPipeTransferResp result =
        PipeConfigNodeAgent.receiver()
            .receive(
                req.getClientId(),
                req.isAirGap
                    ? new AirGapPseudoTPipeTransferRequest()
                        .setVersion(req.version)
                        .setType(req.type)
                        .setBody(req.body)
                    : new TPipeTransferReq(req.version, req.type, req.body));
    return new TPipeConfigTransferResp(result.status).setBody(result.body);
  }
If delete pattern is prefix path (such as root.db.**), it may be optimized to delete
database plus create database. We need to determine two conditions: whether the pattern
ends in **, and that the device is a full path and is matched in the ConfigMTree.
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/ConfigManager.java