张炎泼

Results 250 comments of 张炎泼

> 1. Do we have thought: is raft great for the progress of this era? @jinmingjian I've been working on the storage layer of DataFuse and am so glad that...

依旧continue, ok==4 时可以形成多数, 还可以继续提交. 协议里说的不太清楚, 遇到更高的ballot时,可能很大概率无法成功了, 所以及时终止比较好.

> 但是这样的话,那些已经promise过更高ballot number的acceptor,要怎么处理我发来的Accept消息呢? 嗯. 拒绝就行了 > 总结一下,选项 (1) 按照经典paxos直接失败退出phase-1更加简单,但代价就是需要重新做phase-1,选项 (2) 可以避免一次重复的phase-1,但逻辑上这两者是等价的,(2) 相当于把 (1) 后面的重试phase-1合并进来了。 总结的挺好的:D

@schreter The `rpc` is a field of the following `enum`. Does It have to have another generic type argument if we use the trait `IntoIterator` to describe the type of...

It seems like node-2 entered the Candidate state and raised its term to elect itself. Debug level logs will show more detail about what happened, e.g., something like `timeout to...

> Could the leader become unresponsize while installing a snapshot? Or, could doing log compaction cause nodes to become unresponsive? What would be the best way to rule out the...

> I think I figured it out. Basically, after a node joins the cluster, there's a warm up period in which the state is locked. During this time, the follower...

> In this case, the `append_entry` heartbeats sent by the leader will fail. I expect the leader to catch up the follower when returning online, but not for other followers...

A `StorageError` means the server has to shut down at once, to prevent a further data damage. And mapping a remote StorageError to a NetworkError will confuse its caller: an...

@fredfortier Assumes the openraft should allow the `RaftStorage` to block for a long time, then it is openraft's fault: It should update the next-election-timeout after after calling RaftStorage, instead of...