duduscript 最近的时间轴更新
duduscript

duduscript

V2EX 第 221567 号会员,加入于 2017-03-17 15:47:17 +08:00
duduscript 最近回复了
2018-05-03 15:30:35 +08:00
回复了 timelessg 创建的主题 Apple 手贱升级了一下 mac os 果然出事了
您好,这个问题您解决了吗?我也是升级了以后就又这个问题
2018-01-29 16:38:53 +08:00
回复了 Oliverleon 创建的主题 程序员 不考虑预算,顶配 MacBook Pro 和顶配 Dell xps15 选择哪一个
两款我都用过 建议 MacBook Pro
2017-12-04 14:17:55 +08:00
回复了 duduscript 创建的主题 macOS HHKB 搭配 MacbookPro F1-F12 的功能键无法使用?
@qiqico 谢谢
去过滴滴测开的人告诉你 千万不要去滴滴测开
2017-05-06 00:23:24 +08:00
回复了 duduscript 创建的主题 程序员 有没有在刷 MIT 6.824 分布式系统 的朋友?
@erenno1 非常感谢大神!
2017-05-05 23:52:24 +08:00
回复了 duduscript 创建的主题 程序员 有没有在刷 MIT 6.824 分布式系统 的朋友?
@erenno1
2 我们的理解是一致的,我说的可能不准确
对于 1
如果 leader 发出 AppendEntry,但是堵塞期间 down 掉,那么可能会使得这条 log 在超过半数的机器上存在(commit),但是却没有返回给 client,导致不一致。
那是不是这样,如果在比较稳定的情况下,commitIndex 应该是最大的一个被 commit 的 index,那 follower 接收到 appendEntries 的那个 index 就是 lastApplied,比这个 index 小都是 commit 的 index,commitIndex 通常比 lastApplied 小 1 ?
2017-05-05 20:44:04 +08:00
回复了 duduscript 创建的主题 程序员 有没有在刷 MIT 6.824 分布式系统 的朋友?
@erenno1 3 我明白了
对于 2,我可不可以这么理解,其实 term 也有 commit 和没有 commit 的区别
比如一个成为 candidate 的 follower,他的 term 会+1,+1 以后的 term 就是 lastLogTerm,这个 term 是没有 commit 的 term,而 commit 的 term 是要小于 lastLogTerm 的
2017-05-05 20:36:12 +08:00
回复了 duduscript 创建的主题 程序员 有没有在刷 MIT 6.824 分布式系统 的朋友?
@erenno1 Orz..
2017-05-05 19:06:25 +08:00
回复了 duduscript 创建的主题 程序员 有没有在刷 MIT 6.824 分布式系统 的朋友?
@erenno1 我感觉可能是我论文还是没完全看懂,但我带问题去找也没有找到具体的 point...
2017-05-05 19:05:12 +08:00
回复了 duduscript 创建的主题 程序员 有没有在刷 MIT 6.824 分布式系统 的朋友?
@erenno1 目前实现 lab2 中有几个点还是不清晰,比如 server 的 commitIndex 和 lastApplied 的区别,RequestVoteRPC 中的 lastLogTerm 和 term 的具体是哪一个,还有比较 candidate 的 term 为什么是 term>=currentTerm,而不是 term>currentTerm...
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3474 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 20ms · UTC 11:51 · PVG 19:51 · LAX 04:51 · JFK 07:51
Developed with CodeLauncher
♥ Do have faith in what you're doing.