]
Sebastian Łaskawiec updated ISPN-6460:
--------------------------------------
Fix Version/s: 9.0.0.Final
Race condition during server start causes wrong configuration to be
used for cache 'default'
--------------------------------------------------------------------------------------------
Key: ISPN-6460
URL:
https://issues.jboss.org/browse/ISPN-6460
Project: Infinispan
Issue Type: Bug
Components: Server
Affects Versions: 8.2.0.Final, 8.1.2.Final
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
Fix For: 8.1.3.Final, 8.2.1.Final, 9.0.0.Alpha1, 9.0.0.Final
The rest endpoint subsystem forces the startup of the "default" cache, whose
configuration might not yet be read from the server xml and defined in the cache manager.
As a result, the "default" cache will be started with a LOCAL configuration,
and will never use the right configuration again. This can cause side effects such as the
cache topology is not sent during a PingRequest (since cache is configured as LOCAL), also
potentially ClearCommand failing with NPE since the default cache configuration is LOCAL
in one node and clustered on another.