I have set up my database layer as an high availability cluster of postgres, with the use of pgpool.
The simulation of fallback and recovery of the postgres instances works well.
Keycloak-x is connecting via pgpool to the database cluster.
when pgpool switches from one postgres instance to another, there’s a couple of seconds of disconnection. The connection to any clients (and so keycloak-x) is closed too.
Keycloak-x doesn’t seem to e capable to reconnect automatically: a restart is required.
Is there something i am missing in the keycloak database configuration?