Xiang Li
|
fc96a9e4a7
raft: remove unnecessary funcs in raft.go
|
10 years ago |
Xiang Li
|
e4c0f5c1a8
Merge pull request #1895 from xiang90/snap_nodes
|
10 years ago |
Xiang Li
|
a5efbf826d
raft: drop nodes in softState
|
10 years ago |
Yicheng Qin
|
0472ddf05f
Merge pull request #1890 from yichengq/259
|
10 years ago |
Yicheng Qin
|
4804c45e14
raft: set raft.Commit too when setting raftLog.committed
|
10 years ago |
Yicheng Qin
|
7317834417
raft: increase term to 1 before append initial entries
|
10 years ago |
Ben Darnell
|
3d91faf85a
Pre-apply the bootstrapping ConfChange entries.
|
10 years ago |
Xiang Li
|
6409a8bf0d
raft: filter out messages from unknow sender.
|
10 years ago |
Xiang Li
|
182c30a41a
raft: refactor logging at node level
|
10 years ago |
Yicheng Qin
|
1c7b9317a9
Merge pull request #1833 from yichengq/244
|
10 years ago |
Yicheng Qin
|
551a56fb98
raft: not call stableTo for restored snapshot
|
10 years ago |
Xiang Li
|
788d1e59a2
raft: use index in entry
|
10 years ago |
Xiang Li
|
3c0fbe285c
raft: stableTo checks term matching
|
10 years ago |
Xiang Li
|
8a626257c7
raft: move unstable related function to log_unstable.go
|
10 years ago |
Xiang Li
|
66252c7d62
raft: move all unstable stuff into one struct for future cleanup
|
10 years ago |
Xiang Li
|
e23f9e76d1
raft: do not applysnapshot in raft
|
10 years ago |
Yicheng Qin
|
7e6e305c4f
Merge branch 'log_interface'
|
10 years ago |
Yicheng Qin
|
e466126510
raft: set snapshot to nil when it is saved
|
10 years ago |
Yicheng Qin
|
e17bcd8932
raft: remove wont-fix TODO in ApplyConfChange
|
10 years ago |
Xiang Li
|
9455119968
raft: always check leader changes in node run loop
|
10 years ago |
Ben Darnell
|
0d680d0e6b
Merge remote-tracking branch 'coreos/master' into merge
|
10 years ago |
Brian Waldon
|
9a728a127a
dep: bump golang.org/x/net/context
|
10 years ago |
Ben Darnell
|
355ee4f393
raft: Integrate snapshots into the raft.Storage interface.
|
10 years ago |
Ben Darnell
|
300c5a2001
Merge remote-tracking branch 'coreos/master' into log-storage-interface
|
10 years ago |
Yicheng Qin
|
7d0ffb3f12
raft: not set applied when restored from snapshot
|
10 years ago |
Ben Darnell
|
39eddd8565
Merge remote-tracking branch 'coreos/master' into log-storage-interface
|
10 years ago |
Ben Darnell
|
32824e053c
raft: Only call stableTo when we have ready entries or a snapshot.
|
10 years ago |
Ben Darnell
|
b29c512f50
Merge remote-tracking branch 'coreos/master' into log-storage-interface
|
10 years ago |
Jonathan Boulle
|
2cedf127d4
raft: block Stop() on n.done, support idempotency
|
10 years ago |
Ben Darnell
|
54b07d7974
Remove raft.loadEnts and the ents parameter to raft.RestartNode.
|
10 years ago |