httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47011] mod_proxy/mod_proxy_balancer hot-standby BalancerMembers not taking over immediately
Date Thu, 09 Apr 2009 20:40:11 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47011





--- Comment #1 from Ruediger Pluem <rpluem@apache.org>  2009-04-09 13:40:10 PST ---
Can you please check if the following patch fixes your issue
(:http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/modules/proxy/mod_proxy.c?r1=713145&r2=739610&view=patch):

--- httpd/httpd/branches/2.2.x/modules/proxy/mod_proxy.c    2008/11/11 20:01:59
   713145
+++ httpd/httpd/branches/2.2.x/modules/proxy/mod_proxy.c    2009/01/31 20:58:07
   739610
@@ -1002,8 +1002,10 @@
              * We can not failover to another worker.
              * Mark the worker as unusable if member of load balancer
              */
-            if (balancer)
+            if (balancer) {
                 worker->s->status |= PROXY_WORKER_IN_ERROR;
+                worker->s->error_time = apr_time_now();
+            }
             break;
         }
         else if (access_status == HTTP_SERVICE_UNAVAILABLE) {
@@ -1013,6 +1015,7 @@
              */
             if (balancer) {
                 worker->s->status |= PROXY_WORKER_IN_ERROR;
+                worker->s->error_time = apr_time_now();
             }
         }
         else {

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message