From 7ba4f91258721c14381efd64df9eafa377e5e41e Mon Sep 17 00:00:00 2001 From: TengJianPing <18241664+jacktengg@users.noreply.github.com> Date: Wed, 1 Nov 2023 13:49:08 +0800 Subject: [PATCH] [fix](log) avoid redundent log printing (#26188) Co-authored-by: yiguolei <676222867@qq.com> --- be/src/service/internal_service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/service/internal_service.cpp b/be/src/service/internal_service.cpp index 8f9ed8c0d096d0..f80f4ddb5e0a9e 100644 --- a/be/src/service/internal_service.cpp +++ b/be/src/service/internal_service.cpp @@ -1177,7 +1177,7 @@ void PInternalServiceImpl::_transmit_block(google::protobuf::RpcController* cont st.to_protobuf(response->mutable_status()); if (extract_st.ok()) { st = _exec_env->vstream_mgr()->transmit_block(request, &done); - if (!st.ok()) { + if (!st.ok() && !st.is()) { LOG(WARNING) << "transmit_block failed, message=" << st << ", fragment_instance_id=" << print_id(request->finst_id()) << ", node=" << request->node_id()