Yicheng Qin
|
4e31bb308d
raft: use const firstId to track ids
|
10 years ago |
Yicheng Qin
|
b50f96e2e1
raft: set none to be 0
|
10 years ago |
Jonathan Boulle
|
9997c9488a
*: fix a few small issues identified by go vet
|
10 years ago |
Xiang Li
|
8dfa490e49
raft: fix ignore term
|
10 years ago |
Blake Mizerany
|
8d9b7b1680
raft: remove entry type
|
10 years ago |
Blake Mizerany
|
8463421448
raft: remove configuration
|
10 years ago |
Xiang Li
|
3c77693881
raft: make tick send out messages. all state machine actions should be taken inside step function.
|
10 years ago |
Blake Mizerany
|
d218034630
boom
|
10 years ago |
Blake Mizerany
|
e8e588c67b
raft: move protobufs into raftpb
|
10 years ago |
Blake Mizerany
|
ddd219f297
many: marshal message
|
10 years ago |
Blake Mizerany
|
ad307c6965
raft: go fmt
|
10 years ago |
Blake Mizerany
|
4aa15294a8
raft: re-remove clusterId from raft
|
10 years ago |
Blake Mizerany
|
134a962222
raft: move raft2 to raft
|
10 years ago |
Blake Mizerany
|
0453d09af6
raft: moved into new raft
|
10 years ago |
Xiang Li
|
a5df254e53
raft: add clusterId to snapshot
|
10 years ago |
Yicheng Qin
|
01c40fcf50
raft: not recover from outdated snapshot
|
10 years ago |
Yicheng Qin
|
ba63cf666d
raft: add recover
|
10 years ago |
Xiang Li
|
6030261363
etcd/raft: add snap
|
10 years ago |
Xiang Li
|
54b4f52e48
raft: add index to entry
|
10 years ago |
Xiang Li
|
311db876b0
raft: add unstableState
|
10 years ago |
Xiang Li
|
1288e1f39d
raft: log->raftlog
|
10 years ago |
Xiang Li
|
2665cc1cc8
raft: heartbeat should not contain entries
|
10 years ago |
Yicheng Qin
|
79689872af
raft: use From field to distinguish local message
|
10 years ago |
Xiang Li
|
3921295b21
raft: update lead to none when receives vaild msgVote
|
10 years ago |
Xiang Li
|
447d7dc51b
raft: fix log append; add tests
|
10 years ago |
Xiang Li
|
0886e0ddf4
raft: change term to atomicInt
|
10 years ago |
Xiang Li
|
30f4d9faea
raft: change index and term to int64
|
10 years ago |
Xiang Li
|
e11c7f35b4
raft: add atomicInt
|
10 years ago |
Xiang Li
|
2af0ad505a
raft: make id int64
|
10 years ago |
Xiang Li
|
5651272ec8
raft: handle snapshot message
|
10 years ago |