非常贊寿烟,其中TestSnapshotSize一直想不到優(yōu)化嚎京,按照你的方法start之后直接嘗試replicate倦挂,快了很多胚膊,但是測試中總會時不時的有l(wèi)ogs were not trimmed的問題普碎,求教有什么方法可以解決
還有就是whenever your key/value server detects that the Raft state size is approaching this threshold, it should save a snapshot
不知道怎么判斷算是approaching看锉,我直接當size >= maxstatesize的時候才去snapshot
6. 基于RAFT 實現(xiàn)容錯KV服務(3B)第一步 閱讀相關需求 https://pdos.csail.mit.edu/6.824/labs/lab-kvraft.html的Part B: Key/value serv...