[mod_cluster-dev] Disabling of workers in mod_cluster_manager

Bela Ban bban at redhat.com
Wed Aug 12 23:41:33 EDT 2009


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 ?

-- 
Bela Ban
Lead JGroups / Clustering Team
JBoss



More information about the mod_cluster-dev mailing list