Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1585

mod_cluster nodes are added in ERROR state

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 2.0.22.Final
    • Proxy
    • None

    Description

      Looking at io.undertow.server.handlers.proxy.mod_cluster.Node#state this is declared as:

          private volatile int state = ERROR; // This gets cleared with the first status report
      

      Which means the node is going to be in error until retried or receives first status update. Discovered while authoring a test [1] for ranked routing – ranked routing only takes candidates from available contexts and thus until first status, ranked routing is going to be broken. Workaround for the test is to wait until first status.

      [1] org.jboss.as.test.clustering.cluster.affinity.RankedAffinityTestCase in WF

      Attachments

        Activity

          People

            flaviarnn Flavia Rainone
            rhn-engineering-rhusar Radoslav Husar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: