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 |