]
Richard Achmatowicz commented on ISPN-8244:
-------------------------------------------
This issue is an EAP clustering issue. Created JBEAP-12889 and closing this one.
ejb client-mappings cache is missing entries
--------------------------------------------
Key: ISPN-8244
URL:
https://issues.jboss.org/browse/ISPN-8244
Project: Infinispan
Issue Type: Bug
Reporter: Janine Eichler
In JBoss EAP 7.0 (currently using 7.0.7) the client-mappings is missing some entries
which can result in incomplete cluster topologies sent to the client.
[~rachmato] already analysed (and fixed, at least locally) the problem:
{quote}A little more detail. In the EAP config, there is a cache container called
"ejb" and a defaultt cache called "dist" which is used to store SFSB
sessions when they are created and make them available across the cluster. This cache has,
by default, cache mode DIST. The client-mappings cache, which stores node -> IP:port
information for the cluster nodes, is created internally but is based on the
configuration of the "ejb"/"dist" cache but is set to cache mode REPL.
There seems to be a problem with the configuration of the internally-created
client-mappings cache which is causing the problems (in particular, the consistent hash
for the Infinispan cache is *possibly* not being set correctly).{quote}
{quote}
[...] the CHF setting is the problem. It should be either set to null or
ReplicatedConsistentHashFactory. What was happening was that using
DefaultConsistentHashFactory (aimed for DIST caches) with a REPL cache only writes entries
to numOwners nodes, but the reader thinks that the entries will be available at all
nodes, resulting in null values.
{quote}