consensus/Basic-Paxos #235
Replies: 3 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
下一阶段就是接受阶段 accept(value,n) n是Proposal Number的含义吗(累加的提案号)? 那么这里的这个value是什么值呢? |
Beta Was this translation helpful? Give feedback.
0 replies
-
通常是单调递增的数字,相当于乐观锁中的 version,更高的编号意味着更高的优先级更高编号只能说明相对新旧的记录吧,如果是锁的概念,编号就不对就无法执行的啊。所以这里和优先级没有关系吧 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
consensus/Basic-Paxos
构建大规模高可用的分布式系统
https://www.thebyte.com.cn/consensus/Basic-Paxos.html
Beta Was this translation helpful? Give feedback.
All reactions