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
|
45e96be605
raft: PR feedback.
|
10 years ago |
Ben Darnell
|
b29c512f50
Merge remote-tracking branch 'coreos/master' into log-storage-interface
|
10 years ago |
Ben Darnell
|
147fd614ce
The initial term=0 log entry is now initially unstable.
|
10 years ago |
Ben Darnell
|
76a3de9a33
Require a non-nil Storage parameter in newLog.
|
10 years ago |
Yicheng Qin
|
7dba92dd53
raft: update unstable when calling stableTo with 0
|
10 years ago |
Ben Darnell
|
25b6590547
raft: introduce log storage interface.
|
10 years ago |
Ben Darnell
|
21987c8701
raft: remove raftLog.resetUnstable and resetNextEnts
|
10 years ago |
Xiang Li
|
738da2b3fa
raft: fix a incorrect in testMaybeAppend
|
10 years ago |
Xiang Li
|
14f4163e41
raft: add several test cases for testMaybeAppend
|
10 years ago |
Xiang Li
|
ad1718a3e5
raft: add a test case for testLogMaybeAppend
|
10 years ago |
Xiang Li
|
c6873c1eab
raft: add tests for maybeappend
|
10 years ago |
Xiang Li
|
460d6490ba
raft: address issues in comments
|
10 years ago |
Xiang Li
|
94f701cf95
raft: refactor isUpToDate and add a test
|
10 years ago |
Xiang Li
|
90f26e4a56
raft: add test for findConflict
|
10 years ago |
Jonathan Boulle
|
7a4d42166b
*: add license header to all source files
|
10 years ago |
Xiang Li
|
af5b8c6c44
raft: int64 -> uint64
|
10 years ago |
Yicheng Qin
|
d31443f5a3
raftLog: compact applied entries only
|
10 years ago |
Blake Mizerany
|
e8e588c67b
raft: move protobufs into raftpb
|
10 years ago |
Blake Mizerany
|
134a962222
raft: move raft2 to raft
|
10 years ago |
Blake Mizerany
|
0453d09af6
raft: moved into new raft
|
10 years ago |
Blake Mizerany
|
f03c3bce05
raft: seperate dequeuing from slicing
|
10 years ago |
Yicheng Qin
|
ba63cf666d
raft: add recover
|
10 years ago |
Xiang Li
|
54b4f52e48
raft: add index to entry
|
10 years ago |
Yicheng Qin
|
e850c644da
raft: return offset for unstableEnts
|
10 years ago |
Xiang Li
|
609e13a240
raft: add node.Unstable
|
10 years ago |
Xiang Li
|
1288e1f39d
raft: log->raftlog
|
10 years ago |
Xiang Li
|
447d7dc51b
raft: fix log append; add tests
|
10 years ago |
Xiang Li
|
30f4d9faea
raft: change index and term to int64
|
10 years ago |