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

Different handling of max-attempts parameter on Undertow and httpd implementation

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Critical
    • None
    • 1.3.5.Final
    • None
    • None
    • Documentation (Ref Guide, User Guide, etc.), User Experience

    Description

      The behavior of balancer is different on httpd in comparsion with Undertow implementation when max-attempts parameter is set.

      • Undertow: max-attempts is total count of requests made by balancer in failover scenario. When max-attemps is set to 1 and target worker fails after first attempt made by balancer, no further attempts are made.
      • httpd: max-attempts is count of retries made by balancer after first attempt fails. When max-attempts is set to 1 and target worker fails after first attempt made by balancer, second worker is chosen and request is sent towards it.

      This doesn't seem right and I suggest to unify behavior across implementations.

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-rhusar Radoslav Husar
              jkasik@redhat.com Jan Kašík
              Jan Kašík Jan Kašík
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: