[JBoss JIRA] (MODCLUSTER-645) Different handling of max-attempts parameter on Undertow and httpd implementation
by Jan Kašík (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-645?page=com.atlassian.jira.pl... ]
Jan Kašík updated MODCLUSTER-645:
---------------------------------
Affects: Documentation (Ref Guide, User Guide, etc.),User Experience (was: User Experience)
> Different handling of max-attempts parameter on Undertow and httpd implementation
> ---------------------------------------------------------------------------------
>
> Key: MODCLUSTER-645
> URL: https://issues.jboss.org/browse/MODCLUSTER-645
> Project: mod_cluster
> Issue Type: Bug
> Affects Versions: 1.3.5.Final
> Reporter: Jan Kašík
> Assignee: Jean-Frederic Clere
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 9 months
[JBoss JIRA] (MODCLUSTER-645) Different handling of max-attempts parameter on Undertow and httpd implementation
by Jan Kašík (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-645?page=com.atlassian.jira.pl... ]
Jan Kašík commented on MODCLUSTER-645:
--------------------------------------
During further investigation, I found out, that if i set 0 to max-attempts on Undertow balancer, it behaves in same manner as if there was 1 set (it does exactly one request total) which is really unexpected. On httpd, where max-attempts is treated as count of failover retries, the request is sent exactly once to workers. I failed to find documentation of this behavior for Undertow, but I did find it for httpd on [1].
[1] http://modcluster.io/documentation/#proxy-configuration-1
> Different handling of max-attempts parameter on Undertow and httpd implementation
> ---------------------------------------------------------------------------------
>
> Key: MODCLUSTER-645
> URL: https://issues.jboss.org/browse/MODCLUSTER-645
> Project: mod_cluster
> Issue Type: Bug
> Affects Versions: 1.3.5.Final
> Reporter: Jan Kašík
> Assignee: Jean-Frederic Clere
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 9 months
[JBoss JIRA] (MODCLUSTER-642) Support JDK10 build 10+44
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-642?page=com.atlassian.jira.pl... ]
Radoslav Husar updated MODCLUSTER-642:
--------------------------------------
Fix Version/s: 1.4.0.Alpha2
1.3.9.Final
> Support JDK10 build 10+44
> -------------------------
>
> Key: MODCLUSTER-642
> URL: https://issues.jboss.org/browse/MODCLUSTER-642
> Project: mod_cluster
> Issue Type: Bug
> Components: Core & Container Integration (Java)
> Affects Versions: 1.3.8.Final, 1.4.0.Alpha1, 2.0.0.Alpha1
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Labels: jdk10
> Fix For: 1.4.0.Alpha2, 2.0.0.Alpha1, 1.3.9.Final
>
>
> First JDK10 releases are out.
> Go get the binaries http://jdk.java.net/10/
> {quote}
> ---------- Forwarded message ----------
> From: Rory O'Donnell <rory.odonnell(a)oracle.com>
> Date: Tue, Feb 13, 2018 at 11:25 AM
> Subject: [wildfly-dev] JDK 10: First Release Candidate - JDK 10 b43
> To: wildfly-dev(a)lists.jboss.org
> Hi Jason/Tomaz,
> JDK 10 build 43 is our first JDK 10 Release Candidate [1]
> JDK 10 Early Access build 43 is available at : - jdk.java.net/10/
> Notable changes since previous email.
> build 43
> JDK-8194764 - javac incorrectly flags deprecated for removal imports
> JDK-8196678 - avoid printing uninitialized buffer in os::print_memory_info on AIX
> JDK-8195837 - (tz) Upgrade time-zone data to tzdata2018c
> Bug fixes reported by Open Source Projects :
> JDK-8196296 Lucene test crashes C2 compilation
> Security Manager Survey
> If you have written or maintain code that uses the SecurityManager or related APIs such as the AccessController,
> then we would appreciate if you would complete this survey: https://www.surveymonkey.com/r/RSGMF3K
> More info on the survey [2]
> Regards,
> Rory
> [1] http://mail.openjdk.java.net/pipermail/jdk-dev/2018-February/000742.html
> [2] http://mail.openjdk.java.net/pipermail/jdk-dev/2018-February/000649.html
> --
> Rgds,Rory O'Donnell
> Quality Engineering Manager
> Oracle EMEA , Dublin, Ireland
> _______________________________________________
> wildfly-dev mailing list
> wildfly-dev(a)lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/wildfly-dev
> {quote}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 9 months
[JBoss JIRA] (MODCLUSTER-642) Support JDK10 build 10+44
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-642?page=com.atlassian.jira.pl... ]
Radoslav Husar updated MODCLUSTER-642:
--------------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Support JDK10 build 10+44
> -------------------------
>
> Key: MODCLUSTER-642
> URL: https://issues.jboss.org/browse/MODCLUSTER-642
> Project: mod_cluster
> Issue Type: Bug
> Components: Core & Container Integration (Java)
> Affects Versions: 1.3.8.Final, 1.4.0.Alpha1, 2.0.0.Alpha1
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Labels: jdk10
> Fix For: 2.0.0.Alpha1
>
>
> First JDK10 releases are out.
> Go get the binaries http://jdk.java.net/10/
> {quote}
> ---------- Forwarded message ----------
> From: Rory O'Donnell <rory.odonnell(a)oracle.com>
> Date: Tue, Feb 13, 2018 at 11:25 AM
> Subject: [wildfly-dev] JDK 10: First Release Candidate - JDK 10 b43
> To: wildfly-dev(a)lists.jboss.org
> Hi Jason/Tomaz,
> JDK 10 build 43 is our first JDK 10 Release Candidate [1]
> JDK 10 Early Access build 43 is available at : - jdk.java.net/10/
> Notable changes since previous email.
> build 43
> JDK-8194764 - javac incorrectly flags deprecated for removal imports
> JDK-8196678 - avoid printing uninitialized buffer in os::print_memory_info on AIX
> JDK-8195837 - (tz) Upgrade time-zone data to tzdata2018c
> Bug fixes reported by Open Source Projects :
> JDK-8196296 Lucene test crashes C2 compilation
> Security Manager Survey
> If you have written or maintain code that uses the SecurityManager or related APIs such as the AccessController,
> then we would appreciate if you would complete this survey: https://www.surveymonkey.com/r/RSGMF3K
> More info on the survey [2]
> Regards,
> Rory
> [1] http://mail.openjdk.java.net/pipermail/jdk-dev/2018-February/000742.html
> [2] http://mail.openjdk.java.net/pipermail/jdk-dev/2018-February/000649.html
> --
> Rgds,Rory O'Donnell
> Quality Engineering Manager
> Oracle EMEA , Dublin, Ireland
> _______________________________________________
> wildfly-dev mailing list
> wildfly-dev(a)lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/wildfly-dev
> {quote}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 9 months
[JBoss JIRA] (MODCLUSTER-646) Remove deprecation compiler warnings for MCMPHandler#addProxy(java.net.InetSocketAddress) usage
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-646?page=com.atlassian.jira.pl... ]
Radoslav Husar updated MODCLUSTER-646:
--------------------------------------
Status: Pull Request Sent (was: Coding In Progress)
Git Pull Request: https://github.com/modcluster/mod_cluster/pull/318
> Remove deprecation compiler warnings for MCMPHandler#addProxy(java.net.InetSocketAddress) usage
> -----------------------------------------------------------------------------------------------
>
> Key: MODCLUSTER-646
> URL: https://issues.jboss.org/browse/MODCLUSTER-646
> Project: mod_cluster
> Issue Type: Task
> Components: Core & Container Integration (Java)
> Affects Versions: 1.3.1.Final, 1.4.0.Alpha1
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
>
> {noformat}
> [WARNING] /Users/rhusar/git/mod_cluster/core/src/main/java/org/jboss/modcluster/advertise/impl/AdvertiseListenerImpl.java:[308,67] addProxy(java.net.InetSocketAddress) in org.jboss.modcluster.mcmp.MCMPHandler has been deprecated
> [WARNING] /Users/rhusar/git/mod_cluster/core/src/main/java/org/jboss/modcluster/mcmp/impl/DefaultMCMPHandler.java:[218,17] addProxy(java.net.InetSocketAddress,boolean) in org.jboss.modcluster.mcmp.MCMPHandler has been deprecated
> [WARNING] /Users/rhusar/git/mod_cluster/core/src/main/java/org/jboss/modcluster/mcmp/impl/DefaultMCMPHandler.java:[167,17] addProxy(java.net.InetSocketAddress) in org.jboss.modcluster.mcmp.MCMPHandler has been deprecated
> [WARNING] /Users/rhusar/git/mod_cluster/core/src/main/java/org/jboss/modcluster/ModClusterService.java:[415,25] addProxy(java.net.InetSocketAddress) in org.jboss.modcluster.mcmp.MCMPHandler has been deprecated
> [WARNING] /Users/rhusar/git/mod_cluster/core/src/test/java/org/jboss/modcluster/advertise/impl/AdvertiseListenerImplTestCase.java:[101,62] addProxy(java.net.InetSocketAddress) in org.jboss.modcluster.mcmp.MCMPHandler has been deprecated
> [WARNING] /Users/rhusar/git/mod_cluster/core/src/test/java/org/jboss/modcluster/advertise/impl/AdvertiseListenerImplTestCase.java:[116,62] addProxy(java.net.InetSocketAddress) in org.jboss.modcluster.mcmp.MCMPHandler has been deprecated
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 9 months
[JBoss JIRA] (MODCLUSTER-646) Remove deprecation compiler warnings for MCMPHandler#addProxy(java.net.InetSocketAddress) usage
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-646?page=com.atlassian.jira.pl... ]
Work on MODCLUSTER-646 started by Radoslav Husar.
-------------------------------------------------
> Remove deprecation compiler warnings for MCMPHandler#addProxy(java.net.InetSocketAddress) usage
> -----------------------------------------------------------------------------------------------
>
> Key: MODCLUSTER-646
> URL: https://issues.jboss.org/browse/MODCLUSTER-646
> Project: mod_cluster
> Issue Type: Task
> Components: Core & Container Integration (Java)
> Affects Versions: 1.3.1.Final, 1.4.0.Alpha1
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
>
> {noformat}
> [WARNING] /Users/rhusar/git/mod_cluster/core/src/main/java/org/jboss/modcluster/advertise/impl/AdvertiseListenerImpl.java:[308,67] addProxy(java.net.InetSocketAddress) in org.jboss.modcluster.mcmp.MCMPHandler has been deprecated
> [WARNING] /Users/rhusar/git/mod_cluster/core/src/main/java/org/jboss/modcluster/mcmp/impl/DefaultMCMPHandler.java:[218,17] addProxy(java.net.InetSocketAddress,boolean) in org.jboss.modcluster.mcmp.MCMPHandler has been deprecated
> [WARNING] /Users/rhusar/git/mod_cluster/core/src/main/java/org/jboss/modcluster/mcmp/impl/DefaultMCMPHandler.java:[167,17] addProxy(java.net.InetSocketAddress) in org.jboss.modcluster.mcmp.MCMPHandler has been deprecated
> [WARNING] /Users/rhusar/git/mod_cluster/core/src/main/java/org/jboss/modcluster/ModClusterService.java:[415,25] addProxy(java.net.InetSocketAddress) in org.jboss.modcluster.mcmp.MCMPHandler has been deprecated
> [WARNING] /Users/rhusar/git/mod_cluster/core/src/test/java/org/jboss/modcluster/advertise/impl/AdvertiseListenerImplTestCase.java:[101,62] addProxy(java.net.InetSocketAddress) in org.jboss.modcluster.mcmp.MCMPHandler has been deprecated
> [WARNING] /Users/rhusar/git/mod_cluster/core/src/test/java/org/jboss/modcluster/advertise/impl/AdvertiseListenerImplTestCase.java:[116,62] addProxy(java.net.InetSocketAddress) in org.jboss.modcluster.mcmp.MCMPHandler has been deprecated
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 9 months
[JBoss JIRA] (MODCLUSTER-646) Remove deprecation compiler warnings for MCMPHandler#addProxy(java.net.InetSocketAddress) usage
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-646?page=com.atlassian.jira.pl... ]
Radoslav Husar updated MODCLUSTER-646:
--------------------------------------
Affects Version/s: 1.4.0.Alpha1
1.3.1.Final
> Remove deprecation compiler warnings for MCMPHandler#addProxy(java.net.InetSocketAddress) usage
> -----------------------------------------------------------------------------------------------
>
> Key: MODCLUSTER-646
> URL: https://issues.jboss.org/browse/MODCLUSTER-646
> Project: mod_cluster
> Issue Type: Task
> Components: Core & Container Integration (Java)
> Affects Versions: 1.3.1.Final, 1.4.0.Alpha1
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
>
> {noformat}
> [WARNING] /Users/rhusar/git/mod_cluster/core/src/main/java/org/jboss/modcluster/advertise/impl/AdvertiseListenerImpl.java:[308,67] addProxy(java.net.InetSocketAddress) in org.jboss.modcluster.mcmp.MCMPHandler has been deprecated
> [WARNING] /Users/rhusar/git/mod_cluster/core/src/main/java/org/jboss/modcluster/mcmp/impl/DefaultMCMPHandler.java:[218,17] addProxy(java.net.InetSocketAddress,boolean) in org.jboss.modcluster.mcmp.MCMPHandler has been deprecated
> [WARNING] /Users/rhusar/git/mod_cluster/core/src/main/java/org/jboss/modcluster/mcmp/impl/DefaultMCMPHandler.java:[167,17] addProxy(java.net.InetSocketAddress) in org.jboss.modcluster.mcmp.MCMPHandler has been deprecated
> [WARNING] /Users/rhusar/git/mod_cluster/core/src/main/java/org/jboss/modcluster/ModClusterService.java:[415,25] addProxy(java.net.InetSocketAddress) in org.jboss.modcluster.mcmp.MCMPHandler has been deprecated
> [WARNING] /Users/rhusar/git/mod_cluster/core/src/test/java/org/jboss/modcluster/advertise/impl/AdvertiseListenerImplTestCase.java:[101,62] addProxy(java.net.InetSocketAddress) in org.jboss.modcluster.mcmp.MCMPHandler has been deprecated
> [WARNING] /Users/rhusar/git/mod_cluster/core/src/test/java/org/jboss/modcluster/advertise/impl/AdvertiseListenerImplTestCase.java:[116,62] addProxy(java.net.InetSocketAddress) in org.jboss.modcluster.mcmp.MCMPHandler has been deprecated
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 9 months
[JBoss JIRA] (MODCLUSTER-646) Remove deprecation compiler warnings for MCMPHandler#addProxy(java.net.InetSocketAddress) usage
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-646?page=com.atlassian.jira.pl... ]
Radoslav Husar updated MODCLUSTER-646:
--------------------------------------
Component/s: Core & Container Integration (Java)
> Remove deprecation compiler warnings for MCMPHandler#addProxy(java.net.InetSocketAddress) usage
> -----------------------------------------------------------------------------------------------
>
> Key: MODCLUSTER-646
> URL: https://issues.jboss.org/browse/MODCLUSTER-646
> Project: mod_cluster
> Issue Type: Task
> Components: Core & Container Integration (Java)
> Affects Versions: 1.3.1.Final, 1.4.0.Alpha1
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
>
> {noformat}
> [WARNING] /Users/rhusar/git/mod_cluster/core/src/main/java/org/jboss/modcluster/advertise/impl/AdvertiseListenerImpl.java:[308,67] addProxy(java.net.InetSocketAddress) in org.jboss.modcluster.mcmp.MCMPHandler has been deprecated
> [WARNING] /Users/rhusar/git/mod_cluster/core/src/main/java/org/jboss/modcluster/mcmp/impl/DefaultMCMPHandler.java:[218,17] addProxy(java.net.InetSocketAddress,boolean) in org.jboss.modcluster.mcmp.MCMPHandler has been deprecated
> [WARNING] /Users/rhusar/git/mod_cluster/core/src/main/java/org/jboss/modcluster/mcmp/impl/DefaultMCMPHandler.java:[167,17] addProxy(java.net.InetSocketAddress) in org.jboss.modcluster.mcmp.MCMPHandler has been deprecated
> [WARNING] /Users/rhusar/git/mod_cluster/core/src/main/java/org/jboss/modcluster/ModClusterService.java:[415,25] addProxy(java.net.InetSocketAddress) in org.jboss.modcluster.mcmp.MCMPHandler has been deprecated
> [WARNING] /Users/rhusar/git/mod_cluster/core/src/test/java/org/jboss/modcluster/advertise/impl/AdvertiseListenerImplTestCase.java:[101,62] addProxy(java.net.InetSocketAddress) in org.jboss.modcluster.mcmp.MCMPHandler has been deprecated
> [WARNING] /Users/rhusar/git/mod_cluster/core/src/test/java/org/jboss/modcluster/advertise/impl/AdvertiseListenerImplTestCase.java:[116,62] addProxy(java.net.InetSocketAddress) in org.jboss.modcluster.mcmp.MCMPHandler has been deprecated
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 9 months