Uploaded image for project: 'mod_cluster'
  1. mod_cluster
  2. MODCLUSTER-550

Failover targets should be chosen deterministically

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              pferraro@redhat.com Paul Ferraro
              pferraro@redhat.com Paul Ferraro
              Michal Karm Michal Karm
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: