Infinispan's siteId field is misused in RHSSO 7.x

Solution Verified - Updated -

Issue

The following configuration is RHSSO is valid, although there is not xsite set in the configuration, what is the reason for the xsite as site:

    <transport type="TCP" socket-binding="jgroups-tcp" site="xsite"/> <!--- why site=xsite -->
    <protocol type="TCPPING">
        <property name="initial_hosts"><%= @initial_hosts %></property>
    </protocol>

This may result in the following logs being recorded, as TOPOLOGY_CHANGED causing confusion:

2021-08-03 00:58:49,849   DEBUG [org.infinispan.xsite.statetransfer.XSiteStateTransferManagerImpl] (transport-thread--p18-t3) Topology change detected! EventImpl{type=TOPOLOGY_CHANGED, pre=false, cache=Cache 'client-mappings'@aserver(site-id=xsite, rack-id=null, machine-id=null), readConsistentHashAtStart=PartitionerConsistentHash:ReplicatedConsistentHash{ns = 256, owners = (7)[aserver(site-id=xsite, rack-id=null, machine-id= null): 32, aserver(site-id=xsite, rack-id=null, machine-id=null): 37, aserver(site-id=xsite, rack-id=null, machine-id=null): 38, aserver(site-id=xsite, rack-id=null, machine-id=null): 36, aserver(site-id=xsite, rack-id=null, machine-id=null): 38, aserver(site-id=xsite, rack-id=null, machine-id=null): 38, aserver(site-id=xsite, rack-id=null, machine-id=null): 37]}, 
writeConsistentHashAtStart=PartitionerConsistentHa

Environment

  • Red Hat Single Sign On 7.x
  • RHDG (Infinispan subsystem in RHSSO)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content