]
Tommasso Borgato edited comment on WFLY-12718 at 11/5/19 6:06 AM:
------------------------------------------------------------------
[~rhusar], [~pferraro] maybe this can help: WFLY-12754 is the same kind of error but in a
different scenario
was (Author: tommaso-borgato):
[~rhusar], [~pferraro] maybe this can help: WFLY-12754 is the same kind of error but in
different scenario
Clustering: replicated-cache sampling errors
--------------------------------------------
Key: WFLY-12718
URL:
https://issues.jboss.org/browse/WFLY-12718
Project: WildFly
Issue Type: Bug
Components: Clustering
Affects Versions: 18.0.0.Final
Reporter: Tommasso Borgato
Assignee: Paul Ferraro
Priority: Blocker
The issue is about replicated-cache in fail-over tests.
WildFly is started in clustered mode using a replicated 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/replicated-cache=testRepl:add()
/subsystem=infinispan/cache-container=web/replicated-cache=testRepl/component=locking:write-attribute(name=isolation,
value=REPEATABLE_READ)
/subsystem=infinispan/cache-container=web/replicated-cache=testRepl/component=transaction:write-attribute(name=mode,
value=BATCH)
/subsystem=infinispan/cache-container=web/replicated-cache=testRepl/store=file:add()
/subsystem=infinispan/cache-container=web:write-attribute(name=default-cache,
value=testRepl)
{noformat}
The test is run with 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 replicated cache is incremented at
every call: when this is not true, we say we have a sampling error;
Here are the runs that exhibit this issue:
- **22.82% Fail Rate with WildFly-18 **
[
eap-7.x-clustering-http-session-shutdown-repl#23|https://eap-qe-jenkins.r...]
- **0% Fail Rate with WildFly-17 **
[
eap-7.x-clustering-http-session-shutdown-repl#24|https://eap-qe-jenkins.r...]
We also repeated the tests to make sure it can be reproduced:
- **22.75% Fail rate with WildFly-18 **
[
eap-7.x-clustering-http-session-shutdown-repl#26|https://eap-qe-jenkins.r...]
- **0% Fail Rate with WildFly-17 **
[
eap-7.x-clustering-http-session-shutdown-repl#25|https://eap-qe-jenkins.r...]