Commit Graph

5 Commits

Author SHA1 Message Date
fe884f8209 raft: update LICENSE header 2016-05-12 20:49:15 -07:00
20461ab11a *: fix many typos 2016-01-31 21:42:39 -08:00
845c51fedd *: fix typos vaild->valid 2015-08-07 10:57:11 -07:00
d9b5b56c82 raft: make raft configurable 2015-03-23 09:55:19 -07:00
4a64373225 raft: add flow control for progress
Each progress has a inflighs sliding window. When the progress
is in replicate state, inflights will control the sending speed
of the leader.

The leader can have at most maxInflight number of inflight
messages for each replicate progress. Receving a appResp moves
forward the sliding window. Heartbeat response free one
slot if the window is full.
2015-03-20 20:04:33 -07:00