Yicheng Qin
|
c6de464587
raft: lock storage when compact it
|
9 years ago |
Xiang Li
|
7571b2cde2
raft: limit the size of msgApp
|
9 years ago |
Xiang Li
|
97579e2e1d
raft: introduce logger interface
|
9 years ago |
Xiang Li
|
cbef6ab152
raft: clean up storage
|
9 years ago |
Xiang Li
|
5ede18be74
raft: separate compact and createsnap in memory storage
|
9 years ago |
Jonathan Boulle
|
f1ed69e883
*: switch to line comments for copyright
|
9 years ago |
Ben Darnell
|
fa247d09cc
raft: remove panic when we see a proposal with no leader.
|
10 years ago |
Xiang Li
|
2f5b748a90
raft: clearify that the firstIndex might not be available.
|
10 years ago |
Xiang Li
|
312db7f0f3
raft: fix memory storage
|
10 years ago |
Xiang Li
|
d214e87aee
raft: make unstable.entries immutable; copy the entries at bad path
|
10 years ago |
Xiang Li
|
732cfa1ad6
raft: remove the applysnap from Storage interface
|
10 years ago |
Xiang Li
|
8de98d4903
raft: clean up
|
10 years ago |
Xiang Li
|
9bd1786fe4
raft: memory storage does not append out of date entries
|
10 years ago |
Xiang Li
|
9df0e7715d
raft: do not panic on out of date compaction
|
10 years ago |
Yicheng Qin
|
8aa89dba3d
raft: make if checking match the error in storage.Term
|
10 years ago |
Xiang Li
|
10ebf1a335
raft: fix memoryStorage append
|
10 years ago |
Ben Darnell
|
9ddd8ee539
Rename Storage.HardState back to InitialState and include ConfState.
|
10 years ago |
Ben Darnell
|
355ee4f393
raft: Integrate snapshots into the raft.Storage interface.
|
10 years ago |
Ben Darnell
|
46ee58c6f0
raft: Rename ErrSnapshotRequired To ErrCompacted.
|
10 years ago |
Ben Darnell
|
64d9bcabf1
Add Storage.Term() method and hide the first entry from other methods.
|
10 years ago |
Ben Darnell
|
45e96be605
raft: PR feedback.
|
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 |
Ben Darnell
|
25b6590547
raft: introduce log storage interface.
|
10 years ago |