There are 2 repositories under auto-failover topic.
Postgres high-availability cluster with auto-failover and automated cluster recovery.
Postgres extension and service for automated failover and high-availability
Baidu Ksarch Redis - a production solution of redis cluster
:green_apple: gpdb master auto failover