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

2024-06-12 Thread via GitHub
icexin opened a new issue, #2662: URL: https://github.com/apache/brpc/issues/2662 **Describe the bug (描述bug)** 服务端的一次宕机后,客户端就一直因为检查检查失败导致rpc失败,报错 `[E112]Fail to select server from xxx`。在出问题的机器上可以看到连接处于CLOSE_WAIT状态。 **Versions (各种版本)** OS: ubuntu 20.04 Compiler: clang-

[PR] socket: fix potential double close (brpc)

2024-06-12 Thread via GitHub
BusyJay opened a new pull request, #2663: URL: https://github.com/apache/brpc/pull/2663 ### What problem does this PR solve? Problem Summary: `_fd` should be reset if `ResetFileDescriptor` is going to return -1, otherwise the fd will be closed in callers like `CheckConnectedAnd

Re: [PR] fix h2 rpc_dump memory leak bug (brpc)

2024-06-12 Thread via GitHub
GreateCode commented on PR #2661: URL: https://github.com/apache/brpc/pull/2661#issuecomment-2164211696 @chenBright -- 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 unsu

Re: [PR] fix h2 rpc_dump memory leak bug (brpc)

2024-06-12 Thread via GitHub
GreateCode commented on PR #2661: URL: https://github.com/apache/brpc/pull/2661#issuecomment-2164225012 @wwbmmm 合下? -- 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 unsub

Re: [PR] fix h2 rpc_dump memory leak bug (brpc)

2024-06-12 Thread via GitHub
yanglimingcn commented on PR #2661: URL: https://github.com/apache/brpc/pull/2661#issuecomment-2164228545 LGTM -- 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 unsubscrib

Re: [I] bvar::PassiveStatus 无法暴露指标 (brpc)

2024-06-12 Thread via GitHub
cdjingit commented on issue #2653: URL: https://github.com/apache/brpc/issues/2653#issuecomment-2164287507 > 你好,咨询一下 PassiveStatusstd::string 设计初衷是什么呢,或者针对哪些场景? 根据 [bvar::PassiveStatus](https://github.com/apache/brpc/blob/master/docs/cn/bvar_c%2B%2B.md#bvarpassivestatus) 文档,process_username

Re: [I] bvar::PassiveStatus 无法暴露指标 (brpc)

2024-06-12 Thread via GitHub
j05070415 commented on issue #2653: URL: https://github.com/apache/brpc/issues/2653#issuecomment-2164288552 谢谢,您的邮件我已收到! -- 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

Re: [PR] Support proxy and generic call of baidu protocol (brpc)

2024-06-12 Thread via GitHub
wwbmmm merged PR #2629: URL: https://github.com/apache/brpc/pull/2629 -- 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...@brpc.apache.org F

(brpc) branch master updated: Support proxy and generic call of baidu protocol (#2629)

2024-06-12 Thread wwbmmm
This is an automated email from the ASF dual-hosted git repository. wwbmmm pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/brpc.git The following commit(s) were added to refs/heads/master by this push: new 0f5e102a Support proxy and generic call of baidu p

Re: [I] mbvar 如何通过 LatencyRecorder 获取平均耗时 (brpc)

2024-06-12 Thread via GitHub
wwbmmm commented on issue #2660: URL: https://github.com/apache/brpc/issues/2660#issuecomment-2164340496 百度内部好像是用的 service_latency{valid="false",quantile="avg"} -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL a

Re: [PR] Support connect on socket create (brpc)

2024-06-12 Thread via GitHub
wwbmmm merged PR #2574: URL: https://github.com/apache/brpc/pull/2574 -- 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...@brpc.apache.org F

(brpc) branch master updated: Support connect on socket create (#2574)

2024-06-12 Thread wwbmmm
This is an automated email from the ASF dual-hosted git repository. wwbmmm pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/brpc.git The following commit(s) were added to refs/heads/master by this push: new 15469ed3 Support connect on socket create (#2574)

Re: [PR] Use butil::ThreadLocal to store keytable (brpc)

2024-06-12 Thread via GitHub
wwbmmm commented on PR #2645: URL: https://github.com/apache/brpc/pull/2645#issuecomment-2164345475 LGTM -- 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-m

Re: [PR] fix h2 rpc_dump memory leak bug (brpc)

2024-06-12 Thread via GitHub
wwbmmm merged PR #2661: URL: https://github.com/apache/brpc/pull/2661 -- 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...@brpc.apache.org F

(brpc) branch master updated: fix h2 rpc_dump mem leak bug (#2661)

2024-06-12 Thread wwbmmm
This is an automated email from the ASF dual-hosted git repository. wwbmmm pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/brpc.git The following commit(s) were added to refs/heads/master by this push: new 2e183187 fix h2 rpc_dump mem leak bug (#2661) 2e18