Xiang Li
|
e23f9e76d1
raft: do not applysnapshot in raft
|
10 years ago |
Xiang Li
|
39e6631447
raft: always write dummy entry to storage
|
10 years ago |
Xiang Li
|
8de98d4903
raft: clean up
|
10 years ago |
Xiang Li
|
01cbcce8ba
etcdserver: do not applySnapshot twice
|
10 years ago |
Yicheng Qin
|
85d0e2f130
raft: remove unused raftLog.isOutOfAppliedBounds
|
10 years ago |
Yicheng Qin
|
1e0f87df8c
raft: stricter checking in raftLog.slice
|
10 years ago |
Yicheng Qin
|
1d01c8aa2d
raft: remove unused raftLog.at function
|
10 years ago |
Yicheng Qin
|
2c06a1d815
raft: not set applied when restore log from snapshot
|
10 years ago |
Yicheng Qin
|
0d200baf72
raft: refine raftLog.term
|
10 years ago |
Yicheng Qin
|
7fcaca6d18
raft: simplify raftLog.lastIndex
|
10 years ago |
Yicheng Qin
|
8670f4012b
raft: remove useless line in raftLog.append
|
10 years ago |
Yicheng Qin
|
239c8dd479
raft: add comment to newLog
|
10 years ago |
Xiang Li
|
10ebf1a335
raft: fix memoryStorage append
|
10 years ago |
Xiang Li
|
2876c652ab
raft: fix for go vet
|
10 years ago |
Xiang Li
|
3dd4c458ca
raft: refactor term in log.go
|
10 years ago |
Xiang Li
|
94190286ff
raft: add comment for append in unstableEntries in log.go
|
10 years ago |
Xiang Li
|
0a46c70f5d
raft: use empty slice in unstableEntries in log.go
|
10 years ago |
Xiang Li
|
bc0e72acb9
raft: clean up panic in log.go
|
10 years ago |
Xiang Li
|
f3cef87c69
raft: remove extra empty line in log.go
|
10 years ago |
Xiang Li
|
bdbafe2cf3
raft: use max in log.slice
|
10 years ago |
Ben Darnell
|
b29240baf0
Merge remote-tracking branch 'coreos/master' into merge
|
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 |
Xiang Li
|
bd4cfa2a07
raft: add handleHeartbeat
|
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
|
45e96be605
raft: PR feedback.
|
10 years ago |
Ben Darnell
|
0e8ffe9128
raft: remove a guard that is no longer necessary
|
10 years ago |
Ben Darnell
|
b29c512f50
Merge remote-tracking branch 'coreos/master' into log-storage-interface
|
10 years ago |