]
Tommasso Borgato closed WFLY-12669.
-----------------------------------
[~pferraro] Thank you, after switching to a transactional cache the fail rate got back to
zero:
[
Clustering: scattered cache sampling 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: Blocker
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
[
wildfly-18.0.0.Final.zip|https://download.jboss.org/wildfly/18.0.0.Final...];
The same tests run with version
[
wildfly-17.0.1.Final.zip|https://download.jboss.org/wildfly/17.0.1.Final...]
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.red...]
- 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.red...]
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.red...]
- 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.red...]
Using MOD_CLUSTER as load balancer, we have a *1.85%* 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.red...]
- 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.red...]
On the server we deploy, as usual, {{clusterbench}} (see attachment
clusterbench-ee8.ear).