httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Re: Copied workers in balancer?
Date Fri, 14 Apr 2006 15:20:32 GMT
Ruediger Pluem wrote:
> 
>> This allows to have common worker parameters like error status
>> shared across multiple balancers, while maintaining per-balancer
>> worker data.
> 
> Ok, I understand these goals, but as far as I can see from the current code
> they do not share the error status as they are using different scoreboard
> slots and thus w1 from b1 is using a different proxy_worker_stat then
> w1 from b2.
>

But they are (at least they were).
proxy_worker struct that we memcpy to the new slot
in ap_proxy_add_worker_to_balancer has a pointer
to the proxy_worker_stat, so they are shared.

That was the reason why those two structures are
separated at the first place.


Regards,
Mladen.


Mime
View raw message