xinyiZzz commented on code in PR #9803: URL: https://github.com/apache/incubator-doris/pull/9803#discussion_r895002953
########## be/src/service/internal_service.cpp: ########## @@ -66,19 +66,53 @@ void PInternalServiceImpl::transmit_data(google::protobuf::RpcController* cntl_b PTransmitDataResult* response, google::protobuf::Closure* done) { SCOPED_SWITCH_BTHREAD(); - VLOG_ROW << "transmit data: fragment_instance_id=" << print_id(request->finst_id()) - << " node=" << request->node_id(); + // TODO(zxy) delete in 1.2 version brpc::Controller* cntl = static_cast<brpc::Controller*>(cntl_base); attachment_transfer_request_row_batch<PTransmitDataParams>(request, cntl); + + _transmit_data(cntl_base, request, response, done, Status::OK()); +} + +void PInternalServiceImpl::transmit_data_by_http(google::protobuf::RpcController* cntl_base, + const PEchoRequest* request, + PTransmitDataResult* response, + google::protobuf::Closure* done) { + SCOPED_SWITCH_BTHREAD(); + PTransmitDataParams* request_raw = new PTransmitDataParams(); Review Comment: In the new NewHttpClosure delete req and call the old done.run. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org