分布式错误恢复算法证明

Please read slides on fault recovery alogrithm prepared by Prof. Gagan first.

Claim: Orphan messages are not acceptable by this algorihm.

Proof: Assume an orphan message M exit between thread Y and Z. Without the loss of generality, consider Z as the sender and Y as the receiver. By definition of orphan message, M must be sent after t 3 t_3 t3 and received before t 2 t_2 t2. By the checkpoint algorithm, no message is allowed to sent at the interval between tentative point and commit point. Thus, M could only be sent after t 5 t_5 t5. In other words, t 5 &lt; t 6 t_5 &lt; t_6 t5<t6 and t 7 &lt; t 2 t_7 &lt; t_2 t7<t2 .
By checkpoint algorithm, we could obtain the conclusion t 2 &lt; t 4 &lt; t 5 t_2 &lt; t_4 &lt; t_5 t2<t4<t5. Revisit the relations at the end of above paragragh, the final time chain would be t 7 &lt; t 6 t_7 &lt; t_6 t7<t6.
Contradiction: The sending time is larger than the receiving time!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值