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/incubator-brpc.git
The following commit(s) were added to refs/heads/master by this push:
new 37b0b611 Specify socket_id for health checking code path (#1852)
37b0b611 is described below
commit 37b0b61123a3be991315bfe97749dc2c5dafe4d3
Author: Jiashun Zhu <[email protected]>
AuthorDate: Fri Jul 22 05:52:27 2022 +0200
Specify socket_id for health checking code path (#1852)
---
src/brpc/socket.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/brpc/socket.cpp b/src/brpc/socket.cpp
index 6f941c9a..7ab4e91e 100644
--- a/src/brpc/socket.cpp
+++ b/src/brpc/socket.cpp
@@ -687,7 +687,8 @@ int Socket::WaitAndReset(int32_t expected_nref) {
// nobody holds a health-checking-related reference,
// so no need to do health checking.
if (!_is_hc_related_ref_held) {
- LOG(WARNING) << "nobody holds a health-checking-related
reference";
+ RPC_VLOG << "Nobody holds a health-checking-related reference"
+ << " for SocketId=" << _this_id;
return -1;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]