未验证 提交 addded48 编写于 作者: G gongweibao 提交者: GitHub

test=develop (#14898)

上级 3628d894
...@@ -488,7 +488,7 @@ void AsyncGRPCServer::HandleRequest( ...@@ -488,7 +488,7 @@ void AsyncGRPCServer::HandleRequest(
while (true) { while (true) {
VLOG(4) << "HandleRequest " << rpc_name << " wait next"; VLOG(4) << "HandleRequest " << rpc_name << " wait next";
if (!cq->Next(&tag, &ok)) { if (!cq->Next(&tag, &ok)) {
VLOG(3) << "CompletionQueue " << rpc_name << " shutdown!"; LOG(WARNING) << "CompletionQueue " << rpc_name << " shutdown!";
break; break;
} }
...@@ -511,9 +511,8 @@ void AsyncGRPCServer::HandleRequest( ...@@ -511,9 +511,8 @@ void AsyncGRPCServer::HandleRequest(
// https://groups.google.com/forum/#!topic/grpc-io/xftlRy-IQwM // https://groups.google.com/forum/#!topic/grpc-io/xftlRy-IQwM
// https://groups.google.com/forum/#!topic/grpc-io/ywATt88Ef_I // https://groups.google.com/forum/#!topic/grpc-io/ywATt88Ef_I
if (!ok) { if (!ok) {
LOG(WARNING) << "completion queue:" << rpc_name VLOG(4) << "completion queue:" << rpc_name << " recv no regular event"
<< " recv no regular event" << " context:" << base->Status2String(rpc_name);
<< " context:" << base->Status2String(rpc_name);
TryToRegisterNewOne(rpc_name, req_id); TryToRegisterNewOne(rpc_name, req_id);
delete base; delete base;
continue; continue;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册