Raft 中的 IO 执行顺序(修正版: SoftState 与 HardState) - OpenACID Blog #46
Replies: 1 comment 1 reply
-
|
目前理解例子中的 t6 由于错误跳过了 save-term,满足了“Raft 要求 save-term 和 save-entries 的 IO 都必须完成才能返回成功”,可以向上层返回成功了。此时 t5 还没 commit、t6 就 commit,也是有点怪异的(难道错误引入了并行 commit?) |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Raft 中的 IO 执行顺序(修正版: SoftState 与 HardState) - OpenACID Blog
修正之前文章对 Raft IO 顺序问题的理解。问题不在 Raft 的设计,而在于实现中 SoftState 与 HardState 的区分导致的陷阱
https://blog.openacid.com/algo/raft-io-order-fix-cn/
Beta Was this translation helpful? Give feedback.
All reactions