[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-550) Failover targets should be chosen deterministically

Paul Ferraro (JIRA) issues at jboss.org
Wed Nov 9 08:37:00 EST 2016


Paul Ferraro created MODCLUSTER-550:
---------------------------------------

             Summary: Failover targets should be chosen deterministically
                 Key: MODCLUSTER-550
                 URL: https://issues.jboss.org/browse/MODCLUSTER-550
             Project: mod_cluster
          Issue Type: Bug
          Components: Native (httpd modules)
    Affects Versions: 1.3.5.Final, 1.2.13.Final
            Reporter: Paul Ferraro
            Assignee: Radoslav Husar
             Fix For: 2.0.0.Alpha1, 1.2.14.Final, 1.3.6.Final


Under the following conditions:
1. A request arrives for a session with an unknown route
2. A request arrives for a session with a known route in an error state, or if the intended worker is unresponsive and needs to failover

... the failover target must be chosen in a deterministic way.  This is meant to mitigate the situation where concurrent requests failover to different nodes and cause cluster-wide contention for the session.  Given a consistent ordering of workers (e.g. lexographically), the failover target should be chosen by something like: hash code of session id % active worker count.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the mod_cluster-issues mailing list