Failover is the process of promoting a replica to primary when the primary fails.
“A database is just files. Everything else is optimization.” — Hussein Nasser fundamentals of database engineering by hussein nasser