Re: Load balancing patch

2002-05-07 Thread Bernd Koecke
Hi Mathias, a looked at your patch and I think there are two bugs: 1) You set in_recovering of a woker which is in error_state to JK_TRUE even if you don't select him for handling the request. This should be moved into the next if clause when the worker is choosen. 2) When a local/main worker g

Load balancing patch

2002-05-07 Thread Mathias Herberts
Here is my patch to the load balancing code. I have tested the jk1 part but not the jk2. The behavior should be identical though. The concept of local worker is introduced. Local workers form a subset of the balanced workers, those workers handle the requests with no session information

Jakarta load balancing patch

2002-05-06 Thread Mathias Herberts
Hi again, included int this message is a patch to the current CVS which adds the notion of local workers to both jk1 and jk2. I did not have time to test the patch, I can only say it does compile. The modifications are rather slim so the validation should be easy. Feedback welcome, Mathias.