If the application server should fail between calling prepare and commit or rollback, then transaction recovery needs to take place when the server restarts.
Erlang also works on the principle that operations will fail and therefore has a system in place to be able to handle errors and if necessary recover from them.
Erlang还遵循操作必将失败的原则,因此提供了一种能够处理错误并在必要时从中恢复的系统。
3
Drilling techniques that work well in one place can fail in another.