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 2019/04/14 11:33:13 UTC

[GitHub] [incubator-brpc] cfz opened a new issue #728: EINVAL返回码触发熔断问题

cfz opened a new issue #728: EINVAL返回码触发熔断问题
URL: https://github.com/apache/incubator-brpc/issues/728
 
 
   在熔断文档中[提到](https://github.com/apache/incubator-brpc/blob/master/docs/cn/circuit_breaker.md#%E9%BB%98%E8%AE%A4%E7%9A%84%E7%86%94%E6%96%AD%E7%AD%96%E7%95%A5), 服务端返回EINVAL会导致熔断判定.
   
   但按照我的理解, EINVAL是一个比较常见的返回码, 导致EINVAL的原因可能在客户端, 也可能在服务端, 错误可能是暂时的, 也可能是长期的.  不知道在设计时, 是基于什么考虑, 将EINVAL也包括在触发熔断的错误类别中?
   
   多谢~

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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