Re: [I] brpc退出时卡死 (brpc)

2024-07-02 Thread via GitHub
TousakaRin closed issue #2665: brpc退出时卡死 URL: https://github.com/apache/brpc/issues/2665 -- 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-unsubscr...

Re: [I] brpc退出时卡死 (brpc)

2024-06-23 Thread via GitHub
zhangyachen commented on issue #2665: URL: https://github.com/apache/brpc/issues/2665#issuecomment-2185473446 这个问题解决了,当我把上游换成grpc框架时,还是会出现不能退出的问题,确定是我代码写的有问题。后来从[server.md](https://github.com/apache/brpc/blob/master/docs/cn/server.md#%E5%81%9C%E6%AD%A2)中找到了答案,这里面提到: > 如果你的server“退不掉”,很有可能

Re: [I] brpc退出时卡死 (brpc)

2024-06-21 Thread via GitHub
zhangyachen commented on issue #2665: URL: https://github.com/apache/brpc/issues/2665#issuecomment-2177413389 > client 也是brpc写的吗,正常流程是你发送kill之后,server拒绝接受新的连接,同时为后续所有的rpc都返回ELOGOFF这个错误,brpc的client在收到这个错误之后会把对应socket摘除。 client是百度的java版brpc,https://github.com/baidu/starlight -- This

Re: [I] brpc退出时卡死 (brpc)

2024-06-21 Thread via GitHub
TousakaRin commented on issue #2665: URL: https://github.com/apache/brpc/issues/2665#issuecomment-2177375145 client 也是brpc写的吗,正常流程是你发送kill之后,server拒绝接受新的连接,同时为后续所有的rpc都返回ELOGOFF这个错误,brpc的client在收到这个错误之后会把对应socket摘除。 -- This is an automated message from the Apache Git Service. To respond t

[I] brpc退出时卡死 (brpc)

2024-06-18 Thread via GitHub
zhangyachen opened a new issue, #2665: URL: https://github.com/apache/brpc/issues/2665 **Describe the bug (描述bug)** 在程序退出时,brpc卡在Join的函数不继续执行。 **To Reproduce (复现方法)** 程序退出时会调用该方法: ``` TRITONSERVER_Error* BRPCServer::Stop() { if (!running_) { return TRITONS