Xiang Li
|
6030261363
|
etcd/raft: add snap
|
2014-09-03 09:20:02 -07:00 |
|
Yicheng Qin
|
943fede19c
|
server: panic when fail to save in wal
|
2014-09-03 09:20:01 -07:00 |
|
Yicheng Qin
|
2d870fa65b
|
wal: add first level logging
|
2014-09-03 09:20:01 -07:00 |
|
Yicheng Qin
|
969b529b08
|
wal: fix O_RDONLY attr when opening old file
|
2014-09-03 09:20:01 -07:00 |
|
Xiang Li
|
38ec659cd6
|
raft: make Entry a protobuf type
|
2014-09-03 09:20:01 -07:00 |
|
Yicheng Qin
|
193679e041
|
server: wait longer in afterTest
Because we sets dial timeout to be 200ms, afterTest should wait
> 200ms.
|
2014-09-03 09:20:01 -07:00 |
|
Yicheng Qin
|
7bb6230588
|
peerHub: add response timeout for http client
|
2014-09-03 09:20:01 -07:00 |
|
Yicheng Qin
|
069a288a59
|
peer: wait a little before closing idle connections
It seems that it needs some time to set connections that just used
as idle.
|
2014-09-03 09:20:01 -07:00 |
|
Xiang Li
|
611d564865
|
raft: remove unused prevTerm field
|
2014-09-03 09:20:01 -07:00 |
|
Xiang Li
|
43c9ca895b
|
wal: fix append entry
|
2014-09-03 09:20:01 -07:00 |
|
Xiang Li
|
54b4f52e48
|
raft: add index to entry
|
2014-09-03 09:20:01 -07:00 |
|
Xiang Li
|
46eab903e9
|
etcd: do not generate id if next state is stop
|
2014-09-03 09:20:01 -07:00 |
|
Yicheng Qin
|
0197ce4c66
|
server: move TestMultiNodeKillAllAndRecovery to etcd/
|
2014-09-03 09:20:00 -07:00 |
|
Yicheng Qin
|
215820dd40
|
server: move TestMultiNodeKillOne to etcd/
|
2014-09-03 09:20:00 -07:00 |
|
Yicheng Qin
|
a0fbc289ec
|
server: move discovery tests to etcd/
TestDiscoveryDownNoBackupPeersWithDataDir -> TestRunByDataDir
remove TestDiscoveryRestart
|
2014-09-03 09:20:00 -07:00 |
|
Yicheng Qin
|
5283002132
|
server: set short dial timeout for raft communication
|
2014-09-03 09:20:00 -07:00 |
|
Yicheng Qin
|
28634fce47
|
wal: Flush -> Sync
|
2014-09-03 09:20:00 -07:00 |
|
Yicheng Qin
|
2b0936271c
|
server: fix 2nd watch timeout in TestSingleNodeRecovery
When recovering from data dir, the node needs election timeout to
elect itself to be the leader.
|
2014-09-03 09:20:00 -07:00 |
|
Yicheng Qin
|
01322cd243
|
server: move TestClusterConfigReload to etcd/
|
2014-09-03 09:20:00 -07:00 |
|
Yicheng Qin
|
21fb7b4fbb
|
server: improve TestKillLeader and TestKillRandom
Remove testing on 11-node cluster due to lack of fds
|
2014-09-03 09:20:00 -07:00 |
|
Yicheng Qin
|
efaef49734
|
server: move TestSingleNodeRecovery under etcd/
|
2014-09-03 09:20:00 -07:00 |
|
Yicheng Qin
|
ffa5eb08c3
|
server: apply ents when loading log
|
2014-09-03 09:20:00 -07:00 |
|
Yicheng Qin
|
a6132d459f
|
server: save correct nodeId for participant
|
2014-09-03 09:20:00 -07:00 |
|
Xiang Li
|
12dd380d26
|
etcd: use tmpDir as testing directory
|
2014-09-03 09:20:00 -07:00 |
|
Xiang Li
|
653a63fa00
|
etcd: add destoryCluster for testing
|
2014-09-03 09:19:59 -07:00 |
|
Yicheng Qin
|
88e5bce63d
|
wip: wal glue
|
2014-09-03 09:19:59 -07:00 |
|
Xiang Li
|
d70df4a15d
|
wal: reorgnize wal file
|
2014-09-03 09:19:59 -07:00 |
|
Xiang Li
|
a25cd45876
|
wal: add CoreOS copyright
|
2014-09-03 09:19:59 -07:00 |
|
Xiang Li
|
b383cd5acf
|
raft: refactor recover
|
2014-09-03 09:19:59 -07:00 |
|
Xiang Li
|
9f5c7b310c
|
wal: add newWal helper func
|
2014-09-03 09:19:59 -07:00 |
|
Xiang Li
|
9c6f2ed5bb
|
wal: use buffer
|
2014-09-03 09:19:59 -07:00 |
|
Xiang Li
|
5baefcce26
|
wal: cleanup
|
2014-09-03 09:19:59 -07:00 |
|
Yicheng Qin
|
363e952551
|
wal: add Read
|
2014-09-03 09:19:59 -07:00 |
|
Yicheng Qin
|
3c7935a21d
|
wal: check written data in tests
|
2014-09-03 09:19:59 -07:00 |
|
Yicheng Qin
|
2bd74bc328
|
raft: add Load
|
2014-09-03 09:19:59 -07:00 |
|
Xiang Li
|
d1cdc02afc
|
wal: add tests for write
|
2014-09-03 09:19:59 -07:00 |
|
Xiang Li
|
7b180d585e
|
wal: make new work
|
2014-09-03 09:19:58 -07:00 |
|
Xiang Li
|
e72e75876c
|
wal: init
|
2014-09-03 09:19:58 -07:00 |
|
Xiang Li
|
3fba10c8e6
|
etcd: add version handlers
|
2014-09-03 09:19:58 -07:00 |
|
Yicheng Qin
|
e850c644da
|
raft: return offset for unstableEnts
|
2014-09-03 09:19:58 -07:00 |
|
Xiang Li
|
311db876b0
|
raft: add unstableState
|
2014-09-03 09:19:58 -07:00 |
|
Xiang Li
|
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 |
|
Yicheng Qin
|
05e77ecf90
|
server: move id to the head of log line
|
2014-09-03 09:19:58 -07:00 |
|
Yicheng Qin
|
e7bc7becf3
|
server: add first level logging
|
2014-09-03 09:19:58 -07:00 |
|
Xiang Li
|
1288e1f39d
|
raft: log->raftlog
|
2014-09-03 09:19:58 -07:00 |
|
Xiang Li
|
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 |
|
Xiang Li
|
d7eef6a64e
|
etcd: add a bootstrap test
|
2014-09-03 09:19:58 -07:00 |
|
Xiang Li
|
b49cbc959b
|
etcd: fix start test goroutine leak
|
2014-09-03 09:19:57 -07:00 |
|
Xiang Li
|
b652a0d232
|
etcd: reorganize etce_start test
|
2014-09-03 09:19:57 -07:00 |
|
Yicheng Qin
|
93104f114e
|
all: discovery moved to etcd/ yet
|
2014-09-03 09:19:57 -07:00 |
|