etcd/raft
Xiang Li 312db7f0f3 raft: fix memory storage
Memory storage should append all entries that have greater index
than the snap.Matedata.Index. We first truncate the old parts of
incoming entries. Then truncate the existing entries in the storage.
At last, we append the incoming entries to the existing entries.
2014-12-01 16:37:16 -08:00
..
raftpb raft: Integrate snapshots into the raft.Storage interface. 2014-11-19 16:40:26 -05:00
diff_test.go raft: introduce log storage interface. 2014-11-10 17:40:39 -05:00
doc.go *: add a Advance interface to raft.Node 2014-11-05 15:04:14 -08:00
example_test.go raft: introduce log storage interface. 2014-11-10 17:40:39 -05:00
log.go Merge pull request #1806 from xiang90/no_copy 2014-12-01 13:15:13 -08:00
log_test.go raft: add tests for stableTo 2014-12-01 10:54:34 -08:00
log_unstable.go Merge pull request #1806 from xiang90/no_copy 2014-12-01 13:15:13 -08:00
node.go raft: stableTo checks term matching 2014-11-28 14:13:07 -08:00
node_bench_test.go raft: fix node bench 2014-11-26 23:07:35 -08:00
node_test.go Merge remote-tracking branch 'coreos/master' into merge 2014-11-21 15:40:11 -05:00
raft.go raft: fix start term 2014-11-26 21:21:13 -08:00
raft_paper_test.go raft: stableTo checks term matching 2014-11-28 14:13:07 -08:00
raft_test.go raft: stableTo checks term matching 2014-11-28 14:13:07 -08:00
storage.go raft: fix memory storage 2014-12-01 16:37:16 -08:00
util.go raft: clean up 2014-11-25 16:21:50 -08:00