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 |
Xiang Li
|
b271e88c20
Merge pull request #1696 from xiang90/testnodetick
|
10 years ago |
Xiang Li
|
d834324e97
raft: stop the node synchronously
|
10 years ago |
Xiang Li
|
fe0325fce7
raft: add comment string for TestNodeStart
|
10 years ago |
Yicheng Qin
|
fb93e3fa00
Merge pull request #1689 from yichengq/219
|
10 years ago |
Yicheng Qin
|
7dba92dd53
raft: update unstable when calling stableTo with 0
|
10 years ago |
Xiang Li
|
5967794009
*: support updating advertise-peer-url
|
10 years ago |
Ben Darnell
|
25b6590547
raft: introduce log storage interface.
|
10 years ago |
Xiang Li
|
3fc6f9c24f
Merge pull request #1586 from xiangli-cmu/fix_node
|
10 years ago |
Xiang Li
|
0d7c43d885
*: add a Advance interface to raft.Node
|
10 years ago |
Xiang Li
|
dbdeceda7b
raft: do not load empty state and ents
|
10 years ago |
Xiang Li
|
46ebf69c02
raft: better logging for leader transition
|
10 years ago |