Xiang Li
|
10ebf1a335
raft: fix memoryStorage append
|
před 11 roky |
Xiang Li
|
2876c652ab
raft: fix for go vet
|
před 11 roky |
Xiang Li
|
3dd4c458ca
raft: refactor term in log.go
|
před 11 roky |
Xiang Li
|
94190286ff
raft: add comment for append in unstableEntries in log.go
|
před 11 roky |
Xiang Li
|
0a46c70f5d
raft: use empty slice in unstableEntries in log.go
|
před 11 roky |
Xiang Li
|
bc0e72acb9
raft: clean up panic in log.go
|
před 11 roky |
Xiang Li
|
f3cef87c69
raft: remove extra empty line in log.go
|
před 11 roky |
Xiang Li
|
bdbafe2cf3
raft: use max in log.slice
|
před 11 roky |
Ben Darnell
|
b29240baf0
Merge remote-tracking branch 'coreos/master' into merge
|
před 11 roky |
Ben Darnell
|
355ee4f393
raft: Integrate snapshots into the raft.Storage interface.
|
před 11 roky |
Ben Darnell
|
46ee58c6f0
raft: Rename ErrSnapshotRequired To ErrCompacted.
|
před 11 roky |
Xiang Li
|
bd4cfa2a07
raft: add handleHeartbeat
|
před 11 roky |
Ben Darnell
|
300c5a2001
Merge remote-tracking branch 'coreos/master' into log-storage-interface
|
před 11 roky |
Ben Darnell
|
64d9bcabf1
Add Storage.Term() method and hide the first entry from other methods.
|
před 11 roky |
Yicheng Qin
|
7d0ffb3f12
raft: not set applied when restored from snapshot
|
před 11 roky |
Ben Darnell
|
45e96be605
raft: PR feedback.
|
před 11 roky |
Ben Darnell
|
0e8ffe9128
raft: remove a guard that is no longer necessary
|
před 11 roky |
Ben Darnell
|
b29c512f50
Merge remote-tracking branch 'coreos/master' into log-storage-interface
|
před 11 roky |
Ben Darnell
|
54b07d7974
Remove raft.loadEnts and the ents parameter to raft.RestartNode.
|
před 11 roky |
Ben Darnell
|
147fd614ce
The initial term=0 log entry is now initially unstable.
|
před 11 roky |
Ben Darnell
|
76a3de9a33
Require a non-nil Storage parameter in newLog.
|
před 11 roky |
Yicheng Qin
|
7dba92dd53
raft: update unstable when calling stableTo with 0
|
před 11 roky |
Ben Darnell
|
25b6590547
raft: introduce log storage interface.
|
před 11 roky |
Ben Darnell
|
21987c8701
raft: remove raftLog.resetUnstable and resetNextEnts
|
před 11 roky |
Xiang Li
|
0d7c43d885
*: add a Advance interface to raft.Node
|
před 11 roky |
Yicheng Qin
|
421d5fbe72
raft: add tests based on section 5.3 in raft paper
|
před 11 roky |
Xiang Li
|
738da2b3fa
raft: fix a incorrect in testMaybeAppend
|
před 11 roky |
Xiang Li
|
74c257f63d
Merge pull request #1419 from xiangli-cmu/raft_log_test
|
před 11 roky |
Xiang Li
|
460d6490ba
raft: address issues in comments
|
před 11 roky |
Xiang Li
|
94f701cf95
raft: refactor isUpToDate and add a test
|
před 11 roky |