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/06/05 13:44:53 UTC
[GitHub] [incubator-brpc] scottzzq edited a comment on issue #787: brpc single模式下无法摘掉故障机器
scottzzq edited a comment on issue #787: brpc single模式下无法摘掉故障机器
URL: https://github.com/apache/incubator-brpc/issues/787#issuecomment-499088684
@jamesge 又出现一个新问题,在遇到EFAILEDSOCKET错误的时候,brpc默认会做重试,按照时间序一次发生下列事件:
IssueRPC: _current_call.nretry:0, _correlation_id:57144539873281, cid:57144539873282, _current_call.nretry:0, remote_side:A:port
IssueRPC: _current_call.nretry:1, _correlation_id:57144539873281, cid:57144539873283, _current_call.nretry:1, remote_side:B:port
IssueRPC: _current_call.nretry:2, _correlation_id:57144539873281, cid:57144539873284, _current_call.nretry:2, remote_side:C:port
EndRPC: error_code:0,info.id:57144539873283, current_id:57144539873284, _correlation_id:57144539873281, _current_call.nretry:2
这种情况下brpc仍然会打印FATAL并且coredump,原因就是 https://github.com/apache/incubator-brpc/blob/master/src/brpc/controller.cpp#L798 这一行判断失败,问下这块能否改成 info.id <= current_id() && info.id >= _correlation_id? 多谢了!
----------------------------------------------------------------
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