Raft 中的 IO 执行顺序 - OpenACID Blog #44
Replies: 1 comment 3 replies
-
|
有一个疑问,“如果N3在写入 E5-1 之后、持久化 term=5 之前崩溃,此时 N3 的存储 term 仍然是 1,但 E5-1 已存在于日志中”,这时N3应该没有响应L5的AppendEntries,L5为什么会认为E5-1 已经被复制到 3 个节点(N5、N4、N3)? |
Beta Was this translation helpful? Give feedback.
3 replies
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 执行顺序 - OpenACID Blog
Raft 先写日志后写 term 会导致已提交数据丢失。本文分析问题本质,总结 TiKV、HashiCorp Raft、SOFAJRaft 的三种安全解决方案
https://blog.openacid.com/algo/raft-io-order-cn/
Beta Was this translation helpful? Give feedback.
All reactions