Commit Graph

6838 Commits

Author SHA1 Message Date
d70df4a15d wal: reorgnize wal file 2014-09-03 09:19:59 -07:00
a25cd45876 wal: add CoreOS copyright 2014-09-03 09:19:59 -07:00
b383cd5acf raft: refactor recover 2014-09-03 09:19:59 -07:00
9f5c7b310c wal: add newWal helper func 2014-09-03 09:19:59 -07:00
9c6f2ed5bb wal: use buffer 2014-09-03 09:19:59 -07:00
5baefcce26 wal: cleanup 2014-09-03 09:19:59 -07:00
363e952551 wal: add Read 2014-09-03 09:19:59 -07:00
3c7935a21d wal: check written data in tests 2014-09-03 09:19:59 -07:00
2bd74bc328 raft: add Load 2014-09-03 09:19:59 -07:00
d1cdc02afc wal: add tests for write 2014-09-03 09:19:59 -07:00
7b180d585e wal: make new work 2014-09-03 09:19:58 -07:00
e72e75876c wal: init 2014-09-03 09:19:58 -07:00
3fba10c8e6 etcd: add version handlers 2014-09-03 09:19:58 -07:00
e850c644da raft: return offset for unstableEnts 2014-09-03 09:19:58 -07:00
311db876b0 raft: add unstableState 2014-09-03 09:19:58 -07:00
609e13a240 raft: add node.Unstable
Be able to return all unstable log entries. Application must store unstable
log entries before send out any messages after calling step.
2014-09-03 09:19:58 -07:00
05e77ecf90 server: move id to the head of log line 2014-09-03 09:19:58 -07:00
e7bc7becf3 server: add first level logging 2014-09-03 09:19:58 -07:00
1288e1f39d raft: log->raftlog 2014-09-03 09:19:58 -07:00
c7d1beaaa5 raft: add first level logging
We log the message to step and the state of the statemachine before and after
stepping the message.
2014-09-03 09:19:58 -07:00
d7eef6a64e etcd: add a bootstrap test 2014-09-03 09:19:58 -07:00
b49cbc959b etcd: fix start test goroutine leak 2014-09-03 09:19:57 -07:00
b652a0d232 etcd: reorganize etce_start test 2014-09-03 09:19:57 -07:00
93104f114e all: discovery moved to etcd/ yet 2014-09-03 09:19:57 -07:00
6534525cf8 server: add bootstrap tests 2014-09-03 09:19:57 -07:00
c952e91c4f server: add discovery 2014-09-03 09:19:57 -07:00
2665cc1cc8 raft: heartbeat should not contain entries 2014-09-03 09:19:57 -07:00
7aa9838d8d server: move TestModeChange to functional tests 2014-09-03 09:19:57 -07:00
0c26c0bfab etcd: add a simple endtoend benchmark 2014-09-03 09:19:57 -07:00
1be8550672 etcd: refactor waitCluster 2014-09-03 09:19:57 -07:00
061fad12a9 main: do not pass id to etcd 2014-09-03 09:19:57 -07:00
30099d9135 etcd: generate a id for the new participant after a mode switch 2014-09-03 09:19:57 -07:00
8111930981 etcd: standby does not need to send join 2014-09-03 09:19:57 -07:00
155bd09902 etcd: add clusterid to participant 2014-09-03 09:19:56 -07:00
13ec81c87f raft: fix panic in putVarint; varint can take up to 10 bytes for a 64bit integer. 2014-09-03 09:19:56 -07:00
bb328d5aa5 etcd: fix standby test 2014-09-03 09:19:56 -07:00
468c345e74 etcd: standby should not be in a tight loop 2014-09-03 09:19:56 -07:00
060de128a7 raft: add clusterId 2014-09-03 09:19:56 -07:00
9793c518ab raft: forbid to use none as id 2014-09-03 09:19:56 -07:00
79689872af raft: use From field to distinguish local message 2014-09-03 09:19:56 -07:00
daa49023cf etcd: remove nodes in standby 2014-09-03 09:19:56 -07:00
b4cf146a52 server: notice 2013 -> 2014 2014-09-03 09:19:56 -07:00
0429fe04df server: add notice comment to all files 2014-09-03 09:19:56 -07:00
5bfaaa7964 etcd: fix serverHttp 2014-09-03 09:19:56 -07:00
0b77b42cad standby: fix leader var race 2014-09-03 09:19:55 -07:00
92778afd0b server: retry remove in TestBecomeStandby
To prevent from false error message.
2014-09-03 09:19:55 -07:00
2f51735e8a etcd: move raftprefix to raft_handler 2014-09-03 09:19:55 -07:00
7e7cfb1ce8 etcd: remove participant.seeds 2014-09-03 09:19:55 -07:00
9ffc0b9f2c etcd: remove unncessary code in participant 2014-09-03 09:19:55 -07:00
2e59635bea etcd: fix a race in peer.go 2014-09-03 09:19:55 -07:00