码迷,mamicode.com
首页 > 其他好文 > 详细

PAXOS may not terminate

时间:2014-11-18 06:56:58      阅读:191      评论:0      收藏:0      [点我收藏+]

标签:blog   http   io   ar   os   sp   for   on   log   

It’s easy to see that Paxos does have a failure mode. When two proposers are active at the same time, they may ‘duel’ for highest proposal number by alternately issuing proposals that ‘one-up’ the previous proposal. Until this situation is resolved, and a single leader is agreed upon, it’s possible that Paxos may not terminate. This violates a liveness property. However, the likelihood is that eventually Paxos will return to a correct execution once the network settles down and the two proposers observe each other and agree to let one go first (note that this isn’t quite the same as solving consensus: one proposer simply has to back off for sufficiently long to let the other proposer get its proposal committed).

 bubuko.com,布布扣

PAXOS may not terminate

标签:blog   http   io   ar   os   sp   for   on   log   

原文地址:http://www.cnblogs.com/miaoz/p/4104816.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!