You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2022/11/28 22:42:46 UTC

[Bug 64338] Expose balancer member state to origin / upstream server

https://bz.apache.org/bugzilla/show_bug.cgi?id=64338

--- Comment #10 from Christopher Schultz <ch...@christopherschultz.net> ---
Coming back to this after lo these many years.

I've added a string-based status reporting to the modules and it seems to work.

What doesn't seem to work is ... reporting the status as expected.

So, here is what balancer-status says about the balancer worker's status (yeah,
I lit it up):

        Init Ign Drn Dis Stop Stby Spar

But here is what comes across the wire to the app server:

        BALANCER_WORKER_STATUS     1
        BALANCER_WORKER_STATUS_STR O

At least 1 and O (oh) are consistent, but I don't think that's the actual
status of the worker.

Am I missing something?

The status is being obtained using (*worker)->s->status

-- 
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