When we have large # of caches defined in client server mode, sometimes default cache boot as local cache although it's defined as dist cache in configuration file. It only happens with default cache. Looks like a concurrency issue at init phase in infinispan subsystem. log: 15:33:13,273 TRACE [org.infinispan.jmx.JmxUtil] (MSC service thread 1-4) Registered org.infinispan.jmx.ResourceDMBean@66f12493 under jboss.infinispan:type=Cache,name="0000popopo0000Cache(local)",manager="clustered",component=Activation config: <cache-container name="clustered" default-cache="0000popopo0000Cache" statistics="true"> <distributed-cache name="0000popopo0000Cache" owners="2" segments="20" mode="SYNC" remote-timeout="30000" start="EAGER"> <locking isolation="READ_COMMITTED" striping="false" acquire-timeout="30000" concurrency-level="1000"/> <transaction mode="NONE"/> </distributed-cache>
Created attachment 918068 [details] Config and logs when reproduced
This issue occurs roughly once per 50 tries, with 250 cache defs.