Xiang Li
|
788d1e59a2
raft: use index in entry
|
10 years ago |
Xiang Li
|
51de095d2c
raft: logging state change events and events on bad path
|
10 years ago |
Xiang Li
|
19ccdbee18
Merge pull request #1806 from xiang90/no_copy
|
10 years ago |
Xiang Li
|
3c0fbe285c
raft: stableTo checks term matching
|
10 years ago |
Xiang Li
|
d214e87aee
raft: make unstable.entries immutable; copy the entries at bad path
|
10 years ago |
Xiang Li
|
7929e46dd8
raft: clean up
|
10 years ago |
Xiang Li
|
8a626257c7
raft: move unstable related function to log_unstable.go
|
10 years ago |
Yicheng Qin
|
0f070f3d2d
raft: no need to save dummy entry into stable storage
|
10 years ago |
Xiang Li
|
66252c7d62
raft: move all unstable stuff into one struct for future cleanup
|
10 years ago |
Yicheng Qin
|
ab2a40ea37
Merge branch 'log_interface'
|
10 years ago |
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 |