[jboss-jira] [JBoss JIRA] (WFLY-12669) Clustering: scattered cache errors

Tommasso Borgato (Jira) issues at jboss.org
Tue Oct 15 03:15:00 EDT 2019


     [ https://issues.jboss.org/browse/WFLY-12669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tommasso Borgato updated WFLY-12669:
------------------------------------
    Description: 
The issue is about scattered cache replication across cluster nodes;
WildFly is started in clustered mode using a scattered cache for replicating HTTP session data across cluster nodes; all 4 nodes in the cluster are initialized with the following {{cli}} script:

{noformat}
embed-server --server-config=standalone-ha.xml
/subsystem=jgroups/channel=ee:write-attribute(name=stack,value=tcp)
/subsystem=infinispan/cache-container=web/scattered-cache=testScattered:add()
/subsystem=infinispan/cache-container=web:write-attribute(name=default-cache, value=testScattered)
{noformat}

The test is run with version {{wildfly-18.​0.0.Final.zip}}; the same tests run with version {{wildfly-17.​0.1.Final.zip}} do not have any problem; hence this looks like a regression;

As usual, we test that the serial value stored in the scattered cache is incremented at every call: when this is not true, we say we have a *sampling error*;

Using MOD_JK as load balancer, we have a *22.46%* of *sampling errors* with {{wildfly-18.​0.0.Final.zip}} (0% with  {{wildfly-17.​0.1.Final.zip}}):

- OK [eap-7.x-clustering-http-session-shutdown-scattered with wildfly-17.​0.1.Final.zip](https://eap-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/EAP7/view/EAP7-Clustering/view/EAP7-Clustering-HTTP-Session/job/eap-7.x-clustering-http-session-shutdown-scattered/34/artifact/report/jm/html/index.html)
- ERROR [eap-7.x-clustering-http-session-shutdown-scattered with wildfly-18.​0.0.Final.zip](https://eap-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/EAP7/view/EAP7-Clustering/view/EAP7-Clustering-HTTP-Session/job/eap-7.x-clustering-http-session-shutdown-scattered/33/artifact/report/jm/html/index.html)

Using HAPROXY as load balancer, we have a *1.71%* of *sampling errors* with {{wildfly-18.​0.0.Final.zip}} (0% with  {{wildfly-17.​0.1.Final.zip}}):

- OK [eap-7.x-clustering-http-session-shutdown-scattered with wildfly-17.​0.1.Final.zip](https://eap-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/EAP7/view/EAP7-Clustering/view/EAP7-Clustering-HTTP-Session/job/eap-7.x-clustering-http-session-shutdown-scattered/36/artifact/report/jm/html/index.html)
- ERROR [eap-7.x-clustering-http-session-shutdown-scattered with wildfly-18.​0.0.Final.zip](https://eap-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/EAP7/view/EAP7-Clustering/view/EAP7-Clustering-HTTP-Session/job/eap-7.x-clustering-http-session-shutdown-scattered/38/artifact/report/jm/html/index.html)

On the server we deploy, as usual, `clusterbench` (see attachment clusterbench-ee8.ear).





  was:
The issue is about scattered cache replication across cluster nodes;
WildFly is started in clustered mode using a scattered cache for replicating HTTP session data across cluster nodes; all 4 nodes in the cluster are initialized with the following `cli` script:

{noformat}
embed-server --server-config=standalone-ha.xml
/subsystem=jgroups/channel=ee:write-attribute(name=stack,value=tcp)
/subsystem=infinispan/cache-container=web/scattered-cache=testScattered:add()
/subsystem=infinispan/cache-container=web:write-attribute(name=default-cache, value=testScattered)
{noformat}

The test is run with version `wildfly-18.​0.0.Final.zip`; the same tests run with version `wildfly-17.​0.1.Final.zip` do not have any problem; hence this looks like a regression;

As usual, we test that the serial value stored in the scattered cache is incremented at every call: when this is not true, we say we have a *sampling error*;

Using MOD_JK as load balancer, we have a 22.46% of *sampling errors* with wildfly-18.​0.0.Final.zip (0% with  wildfly-17.​0.1.Final.zip):

- OK [eap-7.x-clustering-http-session-shutdown-scattered with wildfly-17.​0.1.Final.zip](https://eap-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/EAP7/view/EAP7-Clustering/view/EAP7-Clustering-HTTP-Session/job/eap-7.x-clustering-http-session-shutdown-scattered/34/artifact/report/jm/html/index.html)
- ERROR [eap-7.x-clustering-http-session-shutdown-scattered with wildfly-18.​0.0.Final.zip](https://eap-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/EAP7/view/EAP7-Clustering/view/EAP7-Clustering-HTTP-Session/job/eap-7.x-clustering-http-session-shutdown-scattered/33/artifact/report/jm/html/index.html)

Using HAPROXY as load balancer, we have a 1.71% of *sampling errors* with wildfly-18.​0.0.Final.zip (0% with  wildfly-17.​0.1.Final.zip):

- OK [eap-7.x-clustering-http-session-shutdown-scattered with wildfly-17.​0.1.Final.zip](https://eap-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/EAP7/view/EAP7-Clustering/view/EAP7-Clustering-HTTP-Session/job/eap-7.x-clustering-http-session-shutdown-scattered/36/artifact/report/jm/html/index.html)
- ERROR [eap-7.x-clustering-http-session-shutdown-scattered with wildfly-18.​0.0.Final.zip](https://eap-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/EAP7/view/EAP7-Clustering/view/EAP7-Clustering-HTTP-Session/job/eap-7.x-clustering-http-session-shutdown-scattered/38/artifact/report/jm/html/index.html)

On the server we deploy, as usual, `clusterbench` (see attachment clusterbench-ee8.ear).







> Clustering: scattered cache errors
> ----------------------------------
>
>                 Key: WFLY-12669
>                 URL: https://issues.jboss.org/browse/WFLY-12669
>             Project: WildFly
>          Issue Type: Bug
>          Components: Clustering
>    Affects Versions: 18.0.0.Final
>            Reporter: Tommasso Borgato
>            Assignee: Paul Ferraro
>            Priority: Critical
>         Attachments: clusterbench-ee8.ear
>
>
> The issue is about scattered cache replication across cluster nodes;
> WildFly is started in clustered mode using a scattered cache for replicating HTTP session data across cluster nodes; all 4 nodes in the cluster are initialized with the following {{cli}} script:
> {noformat}
> embed-server --server-config=standalone-ha.xml
> /subsystem=jgroups/channel=ee:write-attribute(name=stack,value=tcp)
> /subsystem=infinispan/cache-container=web/scattered-cache=testScattered:add()
> /subsystem=infinispan/cache-container=web:write-attribute(name=default-cache, value=testScattered)
> {noformat}
> The test is run with version {{wildfly-18.​0.0.Final.zip}}; the same tests run with version {{wildfly-17.​0.1.Final.zip}} do not have any problem; hence this looks like a regression;
> As usual, we test that the serial value stored in the scattered cache is incremented at every call: when this is not true, we say we have a *sampling error*;
> Using MOD_JK as load balancer, we have a *22.46%* of *sampling errors* with {{wildfly-18.​0.0.Final.zip}} (0% with  {{wildfly-17.​0.1.Final.zip}}):
> - OK [eap-7.x-clustering-http-session-shutdown-scattered with wildfly-17.​0.1.Final.zip](https://eap-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/EAP7/view/EAP7-Clustering/view/EAP7-Clustering-HTTP-Session/job/eap-7.x-clustering-http-session-shutdown-scattered/34/artifact/report/jm/html/index.html)
> - ERROR [eap-7.x-clustering-http-session-shutdown-scattered with wildfly-18.​0.0.Final.zip](https://eap-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/EAP7/view/EAP7-Clustering/view/EAP7-Clustering-HTTP-Session/job/eap-7.x-clustering-http-session-shutdown-scattered/33/artifact/report/jm/html/index.html)
> Using HAPROXY as load balancer, we have a *1.71%* of *sampling errors* with {{wildfly-18.​0.0.Final.zip}} (0% with  {{wildfly-17.​0.1.Final.zip}}):
> - OK [eap-7.x-clustering-http-session-shutdown-scattered with wildfly-17.​0.1.Final.zip](https://eap-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/EAP7/view/EAP7-Clustering/view/EAP7-Clustering-HTTP-Session/job/eap-7.x-clustering-http-session-shutdown-scattered/36/artifact/report/jm/html/index.html)
> - ERROR [eap-7.x-clustering-http-session-shutdown-scattered with wildfly-18.​0.0.Final.zip](https://eap-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/EAP7/view/EAP7-Clustering/view/EAP7-Clustering-HTTP-Session/job/eap-7.x-clustering-http-session-shutdown-scattered/38/artifact/report/jm/html/index.html)
> On the server we deploy, as usual, `clusterbench` (see attachment clusterbench-ee8.ear).



--
This message was sent by Atlassian Jira
(v7.13.8#713008)



More information about the jboss-jira mailing list