可恢复流程记录其操作,这样在发生故障时可以恢复到较早的状态。
Recoverable processes log their actions and thus can restore earlier states if a failure occurs.
这样,如果在事务处于处理状态时(即,在启动提交进程之前)发生任何故障,那么所有更新将回滚。
Thus, if there is any failure while the transaction is in-flight (that is, before commit processing is initiated), then all updates will be rolled back.
无状态的故障恢复是最简单的方法,但也是作用最有限的方法,因为该方法在故障服务器与备用服务器之间没有维护任何状态。
Stateless failover is the simplest approach but also the least useful approach given that the approach maintains no state between the failed server and the backup server.
应用推荐