You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Ruediger Pluem <rp...@apache.org> on 2006/02/07 21:50:31 UTC

BalancerMembers are doubled workers

During my work on PR 38403 (http://issues.apache.org/bugzilla/show_bug.cgi?id=38403) I noticed that
Balancermembers appear twice in the worker list. First they get created by ap_proxy_add_worker
in add_member of mod_proxy.c and afterwards they are "cloned" by ap_proxy_add_worker_to_balancer
also called from add_member.
Can anybody remember the rationale for this?
These worker "twins" share the same reslist, but use different scoreboard slots. This is at least
confusing without comment.

Regards

RĂ¼diger

Re: BalancerMembers are doubled workers

Posted by Jim Jagielski <ji...@jaguNET.com>.
On Feb 7, 2006, at 3:50 PM, Ruediger Pluem wrote:

> During my work on PR 38403 (http://issues.apache.org/bugzilla/ 
> show_bug.cgi?id=38403) I noticed that
> Balancermembers appear twice in the worker list. First they get  
> created by ap_proxy_add_worker
> in add_member of mod_proxy.c and afterwards they are "cloned" by  
> ap_proxy_add_worker_to_balancer
> also called from add_member.
> Can anybody remember the rationale for this?
> These worker "twins" share the same reslist, but use different  
> scoreboard slots. This is at least
> confusing without comment.
>

I can't totally recall, but I think it was initially setup
that way to allow for some sort of parent-child/master-slave
setup... I need to look over the old emails.