A key component of replication failover and failback is the process known as transition. Transition refers to the changing of the database role —either when a failure occurs on the primary machine (which is hosting the source database) or from the secondary machine once the primary machine again becomes available.