csun5285 commented on code in PR #33076: URL: https://github.com/apache/doris/pull/33076#discussion_r1565125725
########## be/src/olap/single_replica_compaction.cpp: ########## @@ -160,23 +153,19 @@ Status SingleReplicaCompaction::_get_rowset_verisons_from_peer( ExecEnv::GetInstance()->brpc_internal_client_cache()->get_client(addr.host, addr.brpc_port); if (stub == nullptr) { - LOG(WARNING) << "get rowset versions from peer: get rpc stub failed, host = " << addr.host - << " port = " << addr.brpc_port; - return Status::Cancelled("get rpc stub failed"); + return Status::Aborted("get rpc stub failed"); } brpc::Controller cntl; stub->get_tablet_rowset_versions(&cntl, &request, &response, nullptr); if (cntl.Failed()) { - LOG(WARNING) << "open brpc connection to " << addr.host << " failed: " << cntl.ErrorText(); - return Status::Cancelled("open brpc connection failed"); + return Status::Aborted("open brpc connection failed"); Review Comment: ’Aborted‘ is a termination due to some kind of failure, ’Cancelled‘ is due to some normal reason. -- 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