How passive cluster knows standby Postgres db when failover

Hi Team,

temporal does provide multi-cluster replication feature.

if we configure PostgreSQL for synchronous replication with multiple standby servers. When failover happens, how temporal passive cluster knows to connect to which PosgreSQL server? Is there any configuration for this? Thanks.

The multi-cluster replication feature doesn’t rely on DB failover. Each cluster uses a completely independent database instance. DBs can even be of different types, like Cassandra and PostgreSQL.

1 Like

Thank you, maxim!

One more dumb question, when failover happens, how we make sure the history data can be synced in different database sources?

This is done by Temporal above the DB layer.

1 Like