-
Bug
-
Resolution: Done
-
Major
-
1.4.4.Final
-
None
Even when max-attempts is correctly set in balancer, balancer choose to ignore it and use
default of 1.
Can be reproduced with 4 workers with set max-attemps and one undertow balancer.
Deploy app to the workers that calls System.exit() and call it via balancer and watch how many workers will die
"balancer" => {"mycluster" => { "max-attempts" => 10, "sticky-session" => true, "sticky-session-cookie" => "JSESSIONID", "sticky-session-force" => false, "sticky-session-path" => undefined, "sticky-session-remove" => false, "wait-worker" => 0, "load-balancing-group" => undefined, "node" => { "jboss-eap-7.1-1" => { "aliases" => [ "default-host", "localhost" ], "cache-connections" => 40, "elected" => 0, "flush-packets" => false, "load" => 81, "load-balancing-group" => undefined, "max-connections" => 40, "open-connections" => 1, "ping" => 10, "queue-new-requests" => true, "read" => 0L, "request-queue-size" => 1000, "status" => "NODE_UP", "timeout" => 0, "ttl" => 60L, "uri" => "ajp://10.16.92.99:8009/?#", "written" => 0L, "context" => {"/clusterbench" => { "requests" => 0, "status" => "enabled" }} }, "jboss-eap-7.1-3" => { "aliases" => [ "default-host", "localhost" ], "cache-connections" => 40, "elected" => 0, "flush-packets" => false, "load" => 79, "load-balancing-group" => undefined, "max-connections" => 40, "open-connections" => 1, "ping" => 10, "queue-new-requests" => true, "read" => 0L, "request-queue-size" => 1000, "status" => "NODE_UP", "timeout" => 0, "ttl" => 60L, "uri" => "ajp://10.16.92.99:8211/?#", "written" => 0L, "context" => {"/clusterbench" => { "requests" => 0, "status" => "enabled" }} }, "jboss-eap-7.1-2" => { "aliases" => [ "default-host", "localhost" ], "cache-connections" => 40, "elected" => 0, "flush-packets" => false, "load" => 80, "load-balancing-group" => undefined, "max-connections" => 40, "open-connections" => 1, "ping" => 10, "queue-new-requests" => true, "read" => 0L, "request-queue-size" => 1000, "status" => "NODE_UP", "timeout" => 0, "ttl" => 60L, "uri" => "ajp://10.16.92.99:8110/?#", "written" => 0L, "context" => {"/clusterbench" => { "requests" => 0, "status" => "enabled" }} }, "jboss-eap-7.1-4" => { "aliases" => [ "default-host", "localhost" ], "cache-connections" => 40, "elected" => 0, "flush-packets" => false, "load" => 80, "load-balancing-group" => undefined, "max-connections" => 40, "open-connections" => 1, "ping" => 10, "queue-new-requests" => true, "read" => 0L, "request-queue-size" => 1000, "status" => "NODE_UP", "timeout" => 0, "ttl" => 60L, "uri" => "ajp://10.16.92.99:8312/?#", "written" => 0L, "context" => {"/clusterbench" => { "requests" => 0, "status" => "enabled"
- causes
-
UNDERTOW-1315 Undertow mod_cluster balancer retries one less time
- Resolved
- is cloned by
-
JBEAP-7473 Undertow balancer ignores maxAttempts atribute
- Closed