I have a cross-datacenter installation of Keycloak 4.8.3 in active/active mode and using Infinispan 9.3.6 with synchronous replication.
I’ve had communication problems between datacenters.
When it happenned, both Infinispan servers were active, considered the other one as offline and went on working normally without any replication.
To prevent this, I need the load balancer to be able to find out about this situation, but I honestly cannot think of a way to automatically detect it.
May be a headless call to Infinispan management interface, but I don’t find information on how to do that.
Any suggestion of some test I can do which will fail if replication is disabled?
Thank you very much,