Skip to content

Commit e773fb6

Browse files
committed
Approvd
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@739860 13f79535-47bb-0310-9956-ffa450edef68
1 parent 1d6f135 commit e773fb6

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

STATUS

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,6 @@ RELEASE SHOWSTOPPERS:
8686
PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
8787
[ start all new proposals below, under PATCHES PROPOSED. ]
8888

89-
* mod_proxy_balancer: Try first if we find any "recoverable" workers before
90-
we force them to recover.
91-
Trunk version of patch:
92-
http://svn.apache.org/viewvc?rev=734710&view=rev
93-
Backport version for 2.2.x of patch:
94-
Trunk version of patch works
95-
+1: rpluem, pgollucci, jim
9689

9790
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
9891
[ New proposals should be added at the end of the list ]
@@ -105,6 +98,7 @@ PATCHES PROPOSED TO BACKPORT FROM TRUNK:
10598
http://svn.apache.org/viewvc?view=rev&revision=739854
10699
Backport version for 2.2.x of patch:
107100
http://people.apache.org/~jim/patches/httpd-2.2-lbset.patch
101+
+1: jim
108102

109103
PATCHES/ISSUES THAT ARE STALLED
110104

modules/proxy/mod_proxy_balancer.c

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,15 @@ static void force_recovery(proxy_balancer *balancer, server_rec *s)
406406
for (i = 0; i < balancer->workers->nelts; i++, worker++) {
407407
if (!(worker->s->status & PROXY_WORKER_IN_ERROR)) {
408408
ok = 1;
409-
break;
409+
break;
410+
}
411+
else {
412+
/* Try if we can recover */
413+
ap_proxy_retry_worker("BALANCER", worker, s);
414+
if (!(worker->s->status & PROXY_WORKER_IN_ERROR)) {
415+
ok = 1;
416+
break;
417+
}
410418
}
411419
}
412420
if (!ok) {

0 commit comments

Comments
 (0)