Repository navigation
Conversation
…es it needs from trunk
|
See #1084, would need to go here or just before/after it. |
|
@jimjag For the 2.4.x side of #1084: 2.4.x is already exposed to that crash (children crashing when workers are added at run time) through the balancer-manager, beacon or not. I'd propose a separate backport of the fixes, taking from this PR your generic mod_proxy/balancer-manager changes (define-worker rollback, atomic worker status, run-time workers complete and under the locks), plus the locking part of your hcheck fix, #1084 and #1103 (proxy_mutex as a per-child thread mutex). This PR would then rebase on it and keep beacon alone (plus #1084's beacon part); I can do the rebase here if you want. Also #1105 restricts b_nwrkr_flags to beacon's 'B' through balancer_manage() and drops it from balancer-manager requests; if you agree with the change, I think it would belong here too. Nit: the docs here for mod_proxy_beacon say 2.4.71 (we are now at 2.4.72). |
Backports
mod_proxy_beaconfrom trunk, with themod_proxychanges it builds on: thePROXY_WORKER_BEACONstatus bit (MMN minor 143), atomic updates of the shared worker status, no half-defined worker left behind whenap_proxy_define_worker()fails, and run-time balancer workers added under the balancer locks. This replaces three STATUS proposals: mod_proxy_beacon, "Update the shared worker status word atomically" and "Don't leave a half-defined worker".The module is opt-in. On 2.4.x the proxy
config.m4limits the module selection tomost, so evenreallyallleaves it out; it needs--enable-proxy-beacon, which the "Python pytest test suites" job now passes so that the beacon tests already on 2.4.x actually run. It needsapr_siphash.h, so configure refuses it with APR-util older than 1.6.Trunk: r1934995 r1935040 r1935556 r1938135 r1938912 r1939349 r1939350 r1939351 r1939352 r1939362 r1939364 r1939391 r1939436 r1939481 r1939482 r1939484 r1939487 r1939493, and the docs commits a6d8112 and 1624d94.