Xiang Li
|
abddef0f28
raft: make node configurable
|
9 years ago |
Xiang Li
|
d9b5b56c82
raft: make raft configurable
|
9 years ago |
Xiang Li
|
7fe608532a
raft: do not reset vote if term is not changed
|
9 years ago |
Xiang Li
|
9b4d52ee73
raft: do not resend snapshot if not necessary
|
9 years ago |
Barak Michener
|
92dca0af0f
*: remove shadowing of variables from etcd and add travis test
|
9 years ago |
Jonathan Boulle
|
f1ed69e883
*: switch to line comments for copyright
|
9 years ago |
Ben Darnell
|
59214978a2
raft: Add applied index as an argument to newRaft and RestartNode.
|
9 years ago |
Xiang Li
|
a5efbf826d
raft: drop nodes in softState
|
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 |
Veres Lajos
|
3de2ab2c04
*: typofixes
|
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 |
Ben Darnell
|
64d9bcabf1
Add Storage.Term() method and hide the first entry from other methods.
|
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 |
Xiang Li
|
04994048bb
Merge pull request #1702 from xiang90/node_config_propose
|
10 years ago |
Jonathan Boulle
|
eb66d2b0eb
Merge pull request #1699 from jonboulle/node_stop
|
10 years ago |
Xiang Li
|
2a407dadc0
raft: add a test for proposeConfChange
|
10 years ago |
Jonathan Boulle
|
2cedf127d4
raft: block Stop() on n.done, support idempotency
|
10 years ago |
Xiang Li
|
68ab7e69e1
raft: add a test for node proposal
|
10 years ago |
Ben Darnell
|
54b07d7974
Remove raft.loadEnts and the ents parameter to raft.RestartNode.
|
10 years ago |
Ben Darnell
|
147fd614ce
The initial term=0 log entry is now initially unstable.
|
10 years ago |
Xiang Li
|
b271e88c20
Merge pull request #1696 from xiang90/testnodetick
|
10 years ago |
Ben Darnell
|
76a3de9a33
Require a non-nil Storage parameter in newLog.
|
10 years ago |
Xiang Li
|
45c36a0808
raft: add a test for node.Tick
|
10 years ago |