[mod_cluster-dev] Disabling of workers in mod_cluster_manager

jean-frederic clere jfclere at gmail.com
Thu Aug 13 02:57:45 EDT 2009


On 08/13/2009 05:41 AM, Bela Ban wrote:
> When I disable a worker (or all workers in a given domain) in
> mod_cluster_manager, requests to *existing* sessions get rerouted to
> other workers.
>
> This is IMO *not* what DISABLE should do (it is what STOP used to do in
> /status) ! DISABLE should *not* remove a worker from the worker tables,
> but have the following behavior:
>
>      * Sticky sessions
>            o Requests for existing sessions: route them to the existing
>              workers to which they were tied (also disabled ones !)
>            o New sessions are *not* created on disabled workers, but only
>              on enabled ones
>      * Non-sticky sessions
>            o Route requests to any enabled worker
>            o No requests are sent to disabled workers
>
> WDYT ?

I though it was working... I will add a test for that.

Cheers

Jean-Frederic


More information about the mod_cluster-dev mailing list