Re: [I] 连接处于CLOSE_WAIT状态导致健康检查失败 (brpc)

2024-06-17 Thread via GitHub
chenBright commented on issue #2662: URL: https://github.com/apache/brpc/issues/2662#issuecomment-2173629429 有这个日志吗? https://github.com/apache/brpc/blob/2e183187bcbccc39c7da8dde2a98d02a7a031279/src/brpc/socket.cpp#L2564-L2567 -- This is an automated message from the Apache Git Service.

Re: [I] 连接处于CLOSE_WAIT状态导致健康检查失败 (brpc)

2024-06-17 Thread via GitHub
chenBright commented on issue #2662: URL: https://github.com/apache/brpc/issues/2662#issuecomment-2173630016 CLOSE_WAIT状态持续很久吗? -- 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 commen

[PR] Fix tcp connect interrupt (brpc)

2024-06-17 Thread via GitHub
chenBright opened a new pull request, #2664: URL: https://github.com/apache/brpc/pull/2664 ### What problem does this PR solve? Issue Number: Problem Summary: tcp_connect被中断之后,返回结果是有问题的: 1. `bthread_timed_connect / bthread_connect`:`butex_wait`返回0,errno等于`EWOULDBLOCK`

Re: [I] 连接处于CLOSE_WAIT状态导致健康检查失败 (brpc)

2024-06-17 Thread via GitHub
icexin commented on issue #2662: URL: https://github.com/apache/brpc/issues/2662#issuecomment-2174727365 对,在我们手动重启之前一直是CLOSE_WAIT状态 -- 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 co

Re: [I] 连接处于CLOSE_WAIT状态导致健康检查失败 (brpc)

2024-06-17 Thread via GitHub
chenBright commented on issue #2662: URL: https://github.com/apache/brpc/issues/2662#issuecomment-2174800981 看着像是是还有rpc没有结束。框架内部要等到连接上全部rpc结束了,才会close fd,然后进行健康检查。 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the UR

Re: [I] 连接处于CLOSE_WAIT状态导致健康检查失败 (brpc)

2024-06-17 Thread via GitHub
chenBright commented on issue #2662: URL: https://github.com/apache/brpc/issues/2662#issuecomment-2174803799 另外,服务端没起来,健康检查也不会成功吧。 -- 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 com