]
Tristan Tarrant commented on ISPN-11297:
----------------------------------------
Currently the error message is
`ISPN-000500 Cannot create clustered configuration for cache '%s' because
configuration %n%s%n is incompatible with the existing configuration %n%s`
Rejoining nodes with global state may have their caches corrupted if
there is a config mismatch
-----------------------------------------------------------------------------------------------
Key: ISPN-11297
URL:
https://issues.redhat.com/browse/ISPN-11297
Project: Infinispan
Issue Type: Bug
Components: Configuration, Core
Affects Versions: 10.1.1.Final
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
Priority: Critical
With a persistent global state enabled, when a node that was previously part of a cluster
rejoins it currently processes caches from the cluster state before the ones from the
local state. This means that, if the cache configuration is incompatible, it will be
overwritten with the one coming from the cluster.
When joining the node should perform compatibility checks between caches in the cluster
state and the local state before proceeding with creating them. If a mismatch is found, it
should fail fast.