This is an automated email from the ASF dual-hosted git repository.

zychen 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 4196217  fix log level for glog
     new 56ad6b1  Merge pull request #1415 from guodongxiaren/fix_la_log
4196217 is described below

commit 41962177457c6df61230cf921662359253df3ce3
Author: guodongxiaren <[email protected]>
AuthorDate: Mon May 24 23:25:47 2021 +0800

    fix log level for glog
---
 src/brpc/policy/locality_aware_load_balancer.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/brpc/policy/locality_aware_load_balancer.cpp 
b/src/brpc/policy/locality_aware_load_balancer.cpp
index 6740abb..db13982 100644
--- a/src/brpc/policy/locality_aware_load_balancer.cpp
+++ b/src/brpc/policy/locality_aware_load_balancer.cpp
@@ -282,7 +282,7 @@ int LocalityAwareLoadBalancer::SelectServer(const SelectIn& 
in, SelectOut* out)
         // falls into infinite loop. This branch should never be entered in
         // production servers. If it does, there must be a bug.
         if (++nloop > 10000) {
-            LOG(FATAL) << "A selection runs too long!";
+            LOG(ERROR) << "A selection runs too long!";
             return EHOSTDOWN;
         }
         

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to