Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【翻译】摘要的第一句话 #67

Open
Lvnszn opened this issue Jul 25, 2020 · 2 comments
Open

【翻译】摘要的第一句话 #67

Lvnszn opened this issue Jul 25, 2020 · 2 comments

Comments

@Lvnszn
Copy link

Lvnszn commented Jul 25, 2020

Raft is a consensus algorithm for managing a replicated log中的consensus algorithm 按共识算法来看是不是会比一致性算法更好一些?共识和一致我感觉还是有一些差异的,
比如三个人,两个人同意,第三个人不同意算共识,但是一致我理解三个人都得统一。

@xcxinng
Copy link

xcxinng commented May 8, 2023

这里讨论的应该都是最终的结果达成了一致(翻译共识也没错,但更常见的翻译是:一致性算法)。

比如三个人,两个人同意,第三个人不同意算共识,但是一致我理解三个人都得统一。

你这里感觉陷入了一个误区:第三个人虽然一开始是“不同意”的,但算法要求最终必须产生一个结果,而最终的结果就是多数人所达成的“同意”,也就是此时第三个人会强制被认为也是“同意”的。

@Lvnszn
Copy link
Author

Lvnszn commented May 10, 2023

你的说法是有道理,不过你把落盘的一致性和中间的共识算法合在一起了。一个数据副本的更新一致性,一个是共识是中间计算的逻辑。

如果按照最终结果来说,一致性是 ok 的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants