]
Gustavo Fernandes updated ISPN-6460:
------------------------------------
Affects Version/s: 8.1.2.Final
8.2.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
Affects Versions: 8.2.0.Final, 8.1.2.Final
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
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.