You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2022/04/19 07:06:23 UTC

[GitHub] [incubator-brpc] lzfhust opened a new issue, #1743: brpc redis protocol redis request为空的warning提示

lzfhust opened a new issue, #1743:
URL: https://github.com/apache/incubator-brpc/issues/1743

   **Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)**
   是。
   我们在生成环境访问下游redis服务时出现了间歇性的E112报错;我们起初认为是和naming service有关;经过排查后,发现可能和naming service无关;又一直以为和brpc的健康检查有关,不断的看brpc健康检查的源码;最后我们打印并统计了整个过程中brpc的错误码,发现在E112之前,有一定的1008和E22;在解决1008之后,主要剩下E22;最后增加日志打印,发现是因为redis request为空,业务在发起redis request的时候,没有检查是否有key。
   整个过程花费的时间很多;当前brpc redis访问的错误信息不明显。
   
   **Describe the solution you'd like (描述你期望的解决方法)**
   当redis request为空时,redis protocol中,给出明确的错误信息提示,而不是E22、E112等。
   
   **Describe alternatives you've considered (描述你想到的折衷方案)**
   无
   
   **Additional context/screenshots (更多上下文/截图)**
   
   


-- 
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: dev-unsubscribe@brpc.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] zyearn closed issue #1743: brpc redis protocol redis request为空的warning提示

Posted by GitBox <gi...@apache.org>.
zyearn closed issue #1743: brpc redis protocol redis request为空的warning提示
URL: https://github.com/apache/incubator-brpc/issues/1743


-- 
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: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] lzfhust commented on issue #1743: brpc redis protocol redis request为空的warning提示

Posted by GitBox <gi...@apache.org>.
lzfhust commented on issue #1743:
URL: https://github.com/apache/incubator-brpc/issues/1743#issuecomment-1102232379

   初步的实现:
   https://github.com/lzfhust/incubator-brpc/commit/9a54af8a85cfac74fe6869e002d2de27339274ec


-- 
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: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org