Xiang Li
|
9bd1786fe4
raft: memory storage does not append out of date entries
|
11 years ago |
Xiang Li
|
9df0e7715d
raft: do not panic on out of date compaction
|
11 years ago |
Xiang Li
|
01cbcce8ba
etcdserver: do not applySnapshot twice
|
11 years ago |
Xiang Li
|
74d8c7f457
etcdserver: cleanup main loop
|
11 years ago |
Yicheng Qin
|
7e6e305c4f
Merge branch 'log_interface'
|
11 years ago |
Yicheng Qin
|
a13d5a70ff
etcdserver: save snapshot before entries
|
11 years ago |
Yicheng Qin
|
dd57c1f189
Merge pull request #1784 from yichengq/234
|
11 years ago |
Yicheng Qin
|
4b43824be9
raft: not compact log if the compact index < first index of the log
|
11 years ago |
Yicheng Qin
|
1a5333e51d
Merge pull request #1778 from yichengq/232
|
11 years ago |
Yicheng Qin
|
07ca99f4d6
docs: add configuration doc
|
11 years ago |
Xiang Li
|
aa2721e31d
Merge pull request #1781 from orls/fix-backup-snapshots
|
11 years ago |
Xiang Li
|
c46e30412e
Merge pull request #1782 from orls/fix-forcenew-panic
|
11 years ago |
Owen Smith
|
dbb6a75e3f
backup: Ensure dest snapshot dir always exists
|
11 years ago |
Owen Smith
|
c67b937d62
etcdserver: truncate WAL from correct index when forcing new cluster
|
11 years ago |
Owen Smith
|
9974bf0291
backup: Add fatal if dest snapshot failed
|
11 years ago |
Yicheng Qin
|
8aa89dba3d
raft: make if checking match the error in storage.Term
|
11 years ago |
Yicheng Qin
|
8ee1bf31d6
raft: use IsEmptySnap to check the empty snapshot
|
11 years ago |
Yicheng Qin
|
e466126510
raft: set snapshot to nil when it is saved
|
11 years ago |
Yicheng Qin
|
e17bcd8932
raft: remove wont-fix TODO in ApplyConfChange
|
11 years ago |
Yicheng Qin
|
85d0e2f130
raft: remove unused raftLog.isOutOfAppliedBounds
|
11 years ago |
Yicheng Qin
|
1e0f87df8c
raft: stricter checking in raftLog.slice
|
11 years ago |
Yicheng Qin
|
1d01c8aa2d
raft: remove unused raftLog.at function
|
11 years ago |
Yicheng Qin
|
2c06a1d815
raft: not set applied when restore log from snapshot
|
11 years ago |
Yicheng Qin
|
0d200baf72
raft: refine raftLog.term
|
11 years ago |
Yicheng Qin
|
7fcaca6d18
raft: simplify raftLog.lastIndex
|
11 years ago |
Yicheng Qin
|
8670f4012b
raft: remove useless line in raftLog.append
|
11 years ago |
Yicheng Qin
|
239c8dd479
raft: add comment to newLog
|
11 years ago |
Yicheng Qin
|
54e1237271
etcdserver: panic when snapshot on raft storage
|
11 years ago |
Yicheng Qin
|
1b038da18a
etcdserver: init snapi when init appliedi
|
11 years ago |
Yicheng Qin
|
bd9e93eeea
etcdserver: remove finished TODO for raftStorage.Compact
|
11 years ago |