Commit Graph

  • d9ff56d7b7 etcd: cleanup locking in run Xiang Li 2014-08-08 20:29:37 -07:00
  • 3af8c7da3c etcd: we should trust people Xiang Li 2014-08-08 18:52:10 -07:00
  • 55c4a3307d server: cleanup participant stop Yicheng Qin 2014-08-08 16:13:08 -07:00
  • 20c995c142 server: remove return value of func run Yicheng Qin 2014-08-08 15:36:16 -07:00
  • d8424a15dd etcd: remove unnecessary StopProposalWaiters function Xiang Li 2014-08-08 15:26:06 -07:00
  • b5b2031d5b wal: prune repeative logging Yicheng Qin 2014-08-06 20:18:43 -07:00
  • c19932c9ba raft: prune unnecessary logging - fixes #15 Blake Mizerany 2014-08-05 15:02:40 -07:00
  • f911196e5f server: not add node that has been in the cluster Yicheng Qin 2014-08-05 14:39:41 -07:00
  • c9edb762b7 server: add TLSHandshakeTimeout for peer hub client Yicheng Qin 2014-08-04 23:58:42 -07:00
  • 394893ff92 server: not set participant status for peer that points to itself Yicheng Qin 2014-08-04 23:24:32 -07:00
  • 01fdaea8a6 server: not create new peer if exists Yicheng Qin 2014-08-04 22:03:25 -07:00
  • 434bf8ca81 server: rewrite keepSetting in TestMultiNodeKillOne Yicheng Qin 2014-08-04 17:25:34 -07:00
  • b1426e2635 server: wait for entries to be committed in TestClusterConfigReload Yicheng Qin 2014-08-04 15:57:12 -07:00
  • 659eb5fd2a wal: make record a protobuf type Xiang Li 2014-08-04 15:46:12 -07:00
  • d0dc7427dd server: serve /v2/admin on raftPubAddr Yicheng Qin 2014-08-04 13:51:06 -07:00
  • 8e06333d45 raft: make State a protobuf type Xiang Li 2014-08-03 17:38:53 -07:00
  • b9e7c20a4c etcd: make cmd a protobuf type Xiang Li 2014-08-02 23:27:36 -07:00
  • d6c3ebb1a0 raft: make Info a protobuf type Xiang Li 2014-08-03 20:44:02 -07:00
  • a191df10a3 server: p.Get -> p.QuorumGet Yicheng Qin 2014-08-04 11:10:24 -07:00
  • cd4b35c841 server: add QuorumGet Yicheng Qin 2014-08-03 15:54:12 -07:00
  • 5ffc0adccc server: participant.Get -> participant.Store.Get Yicheng Qin 2014-08-03 14:51:44 -07:00
  • 3529c381cf server: add TODO for /v2/stats Yicheng Qin 2014-08-03 14:34:00 -07:00
  • 4b3c3203ff server: stop timer when exit Yicheng Qin 2014-08-03 14:30:42 -07:00
  • 4f10917ce9 etcd: add a read/write timeout to server Yicheng Qin 2014-08-03 14:21:19 -07:00
  • e587402c26 server: Flush headers when using wait=true and stream=true Yicheng Qin 2014-08-03 14:02:56 -07:00
  • 431ff3cce1 raft: minor change on code Yicheng Qin 2014-07-31 16:52:21 -07:00
  • 7c3e202c94 etcd: add recover Yicheng Qin 2014-07-31 10:25:48 -07:00
  • 15029381e1 raft: fix promotable Yicheng Qin 2014-07-31 13:34:51 -07:00
  • 01c40fcf50 raft: not recover from outdated snapshot Yicheng Qin 2014-07-31 13:03:23 -07:00
  • ba63cf666d raft: add recover Yicheng Qin 2014-07-31 15:18:44 -07:00
  • 6030261363 etcd/raft: add snap Xiang Li 2014-07-30 17:21:27 -07:00
  • 943fede19c server: panic when fail to save in wal Yicheng Qin 2014-08-03 09:51:52 -07:00
  • 2d870fa65b wal: add first level logging Yicheng Qin 2014-08-03 09:51:10 -07:00
  • 969b529b08 wal: fix O_RDONLY attr when opening old file Yicheng Qin 2014-08-02 22:36:53 -07:00
  • 38ec659cd6 raft: make Entry a protobuf type Xiang Li 2014-08-02 18:21:25 -07:00
  • 193679e041 server: wait longer in afterTest Yicheng Qin 2014-08-02 17:28:51 -07:00
  • 7bb6230588 peerHub: add response timeout for http client Yicheng Qin 2014-08-02 16:47:00 -07:00
  • 069a288a59 peer: wait a little before closing idle connections Yicheng Qin 2014-08-02 11:17:30 -07:00
  • 611d564865 raft: remove unused prevTerm field Xiang Li 2014-08-02 14:00:33 -07:00
  • 43c9ca895b wal: fix append entry Xiang Li 2014-08-01 21:58:18 -07:00
  • 54b4f52e48 raft: add index to entry Xiang Li 2014-08-01 21:43:08 -07:00
  • 46eab903e9 etcd: do not generate id if next state is stop Xiang Li 2014-08-01 21:02:18 -07:00
  • 0197ce4c66 server: move TestMultiNodeKillAllAndRecovery to etcd/ Yicheng Qin 2014-07-30 13:58:26 -07:00
  • 215820dd40 server: move TestMultiNodeKillOne to etcd/ Yicheng Qin 2014-07-30 10:21:54 -07:00
  • a0fbc289ec server: move discovery tests to etcd/ Yicheng Qin 2014-07-29 16:41:39 -07:00
  • 5283002132 server: set short dial timeout for raft communication Yicheng Qin 2014-07-29 16:13:44 -07:00
  • 28634fce47 wal: Flush -> Sync Yicheng Qin 2014-07-29 14:47:36 -07:00
  • 2b0936271c server: fix 2nd watch timeout in TestSingleNodeRecovery Yicheng Qin 2014-07-28 22:29:00 -07:00
  • 01322cd243 server: move TestClusterConfigReload to etcd/ Yicheng Qin 2014-07-28 21:56:57 -07:00
  • 21fb7b4fbb server: improve TestKillLeader and TestKillRandom Yicheng Qin 2014-07-28 19:52:26 -07:00
  • efaef49734 server: move TestSingleNodeRecovery under etcd/ Yicheng Qin 2014-07-28 16:03:49 -07:00
  • ffa5eb08c3 server: apply ents when loading log Yicheng Qin 2014-07-28 16:02:56 -07:00
  • a6132d459f server: save correct nodeId for participant Yicheng Qin 2014-07-28 15:58:28 -07:00
  • 12dd380d26 etcd: use tmpDir as testing directory Xiang Li 2014-07-28 15:12:53 -07:00
  • 653a63fa00 etcd: add destoryCluster for testing Xiang Li 2014-07-28 15:01:09 -07:00
  • 88e5bce63d wip: wal glue Yicheng Qin 2014-07-28 13:04:04 -07:00
  • d70df4a15d wal: reorgnize wal file Xiang Li 2014-07-27 21:01:39 -07:00
  • a25cd45876 wal: add CoreOS copyright Xiang Li 2014-07-27 20:58:39 -07:00
  • b383cd5acf raft: refactor recover Xiang Li 2014-07-27 20:51:16 -07:00
  • 9f5c7b310c wal: add newWal helper func Xiang Li 2014-07-27 20:32:23 -07:00
  • 9c6f2ed5bb wal: use buffer Xiang Li 2014-07-27 20:28:41 -07:00
  • 5baefcce26 wal: cleanup Xiang Li 2014-07-27 17:23:04 -07:00
  • 363e952551 wal: add Read Yicheng Qin 2014-07-26 00:10:59 -07:00
  • 3c7935a21d wal: check written data in tests Yicheng Qin 2014-07-26 21:05:26 -07:00
  • 2bd74bc328 raft: add Load Yicheng Qin 2014-07-25 15:15:00 -07:00
  • d1cdc02afc wal: add tests for write Xiang Li 2014-07-25 15:21:04 -07:00
  • 7b180d585e wal: make new work Xiang Li 2014-07-25 14:54:08 -07:00
  • e72e75876c wal: init Xiang Li 2014-07-25 14:20:21 -07:00
  • 3fba10c8e6 etcd: add version handlers Xiang Li 2014-08-01 13:50:17 -07:00
  • e850c644da raft: return offset for unstableEnts Yicheng Qin 2014-07-25 12:03:03 -07:00
  • 311db876b0 raft: add unstableState Xiang Li 2014-07-24 14:11:53 -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. Xiang Li 2014-07-23 21:45:57 -07:00
  • 05e77ecf90 server: move id to the head of log line Yicheng Qin 2014-07-23 16:51:22 -07:00
  • e7bc7becf3 server: add first level logging Yicheng Qin 2014-07-23 16:37:59 -07:00
  • 1288e1f39d raft: log->raftlog Xiang Li 2014-07-23 16:15:25 -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. Xiang Li 2014-07-23 13:58:25 -07:00
  • d7eef6a64e etcd: add a bootstrap test Xiang Li 2014-07-22 22:49:16 -07:00
  • b49cbc959b etcd: fix start test goroutine leak Xiang Li 2014-07-22 22:47:24 -07:00
  • b652a0d232 etcd: reorganize etce_start test Xiang Li 2014-07-22 21:34:23 -07:00
  • 93104f114e all: discovery moved to etcd/ yet Yicheng Qin 2014-07-22 17:55:57 -07:00
  • 6534525cf8 server: add bootstrap tests Yicheng Qin 2014-07-22 17:16:15 -07:00
  • c952e91c4f server: add discovery Yicheng Qin 2014-07-22 09:51:44 -07:00
  • 2665cc1cc8 raft: heartbeat should not contain entries Xiang Li 2014-07-22 13:44:44 -07:00
  • 7aa9838d8d server: move TestModeChange to functional tests Yicheng Qin 2014-07-22 08:55:07 -07:00
  • 0c26c0bfab etcd: add a simple endtoend benchmark Xiang Li 2014-07-21 22:43:32 -07:00
  • 1be8550672 etcd: refactor waitCluster Xiang Li 2014-07-21 17:05:17 -07:00
  • 061fad12a9 main: do not pass id to etcd Xiang Li 2014-07-21 16:45:03 -07:00
  • 30099d9135 etcd: generate a id for the new participant after a mode switch Xiang Li 2014-07-21 16:44:15 -07:00
  • 8111930981 etcd: standby does not need to send join Xiang Li 2014-07-21 14:45:12 -07:00
  • 155bd09902 etcd: add clusterid to participant Xiang Li 2014-07-20 12:13:27 -07:00
  • 13ec81c87f raft: fix panic in putVarint; varint can take up to 10 bytes for a 64bit integer. Xiang Li 2014-07-20 12:07:53 -07:00
  • bb328d5aa5 etcd: fix standby test Xiang Li 2014-07-20 11:59:49 -07:00
  • 468c345e74 etcd: standby should not be in a tight loop Xiang Li 2014-07-20 11:43:39 -07:00
  • 060de128a7 raft: add clusterId Xiang Li 2014-07-20 10:51:15 -07:00
  • 9793c518ab raft: forbid to use none as id Yicheng Qin 2014-07-19 14:01:11 -07:00
  • 79689872af raft: use From field to distinguish local message Yicheng Qin 2014-07-19 13:56:02 -07:00
  • daa49023cf etcd: remove nodes in standby Xiang Li 2014-07-19 09:32:18 -07:00
  • b4cf146a52 server: notice 2013 -> 2014 Yicheng Qin 2014-07-18 15:59:39 -07:00
  • 0429fe04df server: add notice comment to all files Yicheng Qin 2014-07-18 15:51:08 -07:00
  • 5bfaaa7964 etcd: fix serverHttp Xiang Li 2014-07-18 14:17:28 -07:00