| .. |
|
cluster_test.go
|
e11c7f35b4
raft: add atomicInt
|
11 years ago |
|
diff_test.go
|
a9c81088f8
raft: add new diff
|
11 years ago |
|
log.go
|
447d7dc51b
raft: fix log append; add tests
|
11 years ago |
|
log_test.go
|
447d7dc51b
raft: fix log append; add tests
|
11 years ago |
|
node.go
|
2e86cf2dc8
raft: add more randomness
|
11 years ago |
|
node_test.go
|
9c8aff66a1
raft: randomize election timeout
|
11 years ago |
|
raft.go
|
bea28933d3
raft: init lead to none
|
11 years ago |
|
raft_test.go
|
3921295b21
raft: update lead to none when receives vaild msgVote
|
11 years ago |
|
snapshot.go
|
30f4d9faea
raft: change index and term to int64
|
11 years ago |