Commit Graph

  • 49c08e2184 server: p.Get -> p.QuorumGet Yicheng Qin 2014-08-04 11:10:24 -07:00
  • b4e08b50ee server: add QuorumGet Yicheng Qin 2014-08-03 15:54:12 -07:00
  • 926b962c22 server: participant.Get -> participant.Store.Get Yicheng Qin 2014-08-03 14:51:44 -07:00
  • 5b29de17e7 server: add TODO for /v2/stats Yicheng Qin 2014-08-03 14:34:00 -07:00
  • df16beaa6f server: stop timer when exit Yicheng Qin 2014-08-03 14:30:42 -07:00
  • 669a71f2ce etcd: add a read/write timeout to server Yicheng Qin 2014-08-03 14:21:19 -07:00
  • 12b19d3bb1 server: Flush headers when using wait=true and stream=true Yicheng Qin 2014-08-03 14:02:56 -07:00
  • dc828869cd raft: minor change on code Yicheng Qin 2014-07-31 16:52:21 -07:00
  • bf3b208424 etcd: add recover Yicheng Qin 2014-07-31 10:25:48 -07:00
  • d796a1d0c6 raft: fix promotable Yicheng Qin 2014-07-31 13:34:51 -07:00
  • d87ae4b83d raft: not recover from outdated snapshot Yicheng Qin 2014-07-31 13:03:23 -07:00
  • 0ba9da893f raft: add recover Yicheng Qin 2014-07-31 15:18:44 -07:00
  • 511bd49ecc etcd/raft: add snap Xiang Li 2014-07-30 17:21:27 -07:00
  • 13d0af97fc server: panic when fail to save in wal Yicheng Qin 2014-08-03 09:51:52 -07:00
  • 87beb35210 wal: add first level logging Yicheng Qin 2014-08-03 09:51:10 -07:00
  • b9c09e8922 wal: fix O_RDONLY attr when opening old file Yicheng Qin 2014-08-02 22:36:53 -07:00
  • 491699a954 raft: make Entry a protobuf type Xiang Li 2014-08-02 18:21:25 -07:00
  • 6362f63fa4 server: wait longer in afterTest Yicheng Qin 2014-08-02 17:28:51 -07:00
  • a7b1d0792d peerHub: add response timeout for http client Yicheng Qin 2014-08-02 16:47:00 -07:00
  • 22915f7ff6 peer: wait a little before closing idle connections Yicheng Qin 2014-08-02 11:17:30 -07:00
  • bc41ea2751 raft: remove unused prevTerm field Xiang Li 2014-08-02 14:00:33 -07:00
  • a981e6418d wal: fix append entry Xiang Li 2014-08-01 21:58:18 -07:00
  • 97f7a16026 raft: add index to entry Xiang Li 2014-08-01 21:43:08 -07:00
  • d5ad99a606 etcd: do not generate id if next state is stop Xiang Li 2014-08-01 21:02:18 -07:00
  • 8a83979080 server: move TestMultiNodeKillAllAndRecovery to etcd/ Yicheng Qin 2014-07-30 13:58:26 -07:00
  • 02a244a975 server: move TestMultiNodeKillOne to etcd/ Yicheng Qin 2014-07-30 10:21:54 -07:00
  • 6e2e6d8d97 server: move discovery tests to etcd/ Yicheng Qin 2014-07-29 16:41:39 -07:00
  • c75efbd318 server: set short dial timeout for raft communication Yicheng Qin 2014-07-29 16:13:44 -07:00
  • baedce0a5a wal: Flush -> Sync Yicheng Qin 2014-07-29 14:47:36 -07:00
  • ec0a1232dd server: fix 2nd watch timeout in TestSingleNodeRecovery Yicheng Qin 2014-07-28 22:29:00 -07:00
  • 40352be55f server: move TestClusterConfigReload to etcd/ Yicheng Qin 2014-07-28 21:56:57 -07:00
  • 7fefb27307 server: improve TestKillLeader and TestKillRandom Yicheng Qin 2014-07-28 19:52:26 -07:00
  • d17ed2db74 server: move TestSingleNodeRecovery under etcd/ Yicheng Qin 2014-07-28 16:03:49 -07:00
  • c50393d734 server: apply ents when loading log Yicheng Qin 2014-07-28 16:02:56 -07:00
  • bafa0ba943 server: save correct nodeId for participant Yicheng Qin 2014-07-28 15:58:28 -07:00
  • 46a37a15a9 etcd: use tmpDir as testing directory Xiang Li 2014-07-28 15:12:53 -07:00
  • ddcf20bc22 etcd: add destoryCluster for testing Xiang Li 2014-07-28 15:01:09 -07:00
  • cd8fd7fc81 wip: wal glue Yicheng Qin 2014-07-28 13:04:04 -07:00
  • 2cee7ff783 wal: reorgnize wal file Xiang Li 2014-07-27 21:01:39 -07:00
  • 259b77312d wal: add CoreOS copyright Xiang Li 2014-07-27 20:58:39 -07:00
  • 8e277507bf raft: refactor recover Xiang Li 2014-07-27 20:51:16 -07:00
  • 5824c496cd wal: add newWal helper func Xiang Li 2014-07-27 20:32:23 -07:00
  • 3ec121ee99 wal: use buffer Xiang Li 2014-07-27 20:28:41 -07:00
  • 0959d1ed8b wal: cleanup Xiang Li 2014-07-27 17:23:04 -07:00
  • a5ed885649 wal: add Read Yicheng Qin 2014-07-26 00:10:59 -07:00
  • 1557065daa wal: check written data in tests Yicheng Qin 2014-07-26 21:05:26 -07:00
  • 2dfd76a542 raft: add Load Yicheng Qin 2014-07-25 15:15:00 -07:00
  • ff45c53576 wal: add tests for write Xiang Li 2014-07-25 15:21:04 -07:00
  • f504448f39 wal: make new work Xiang Li 2014-07-25 14:54:08 -07:00
  • c78d50a26d wal: init Xiang Li 2014-07-25 14:20:21 -07:00
  • adf8083fcb etcd: add version handlers Xiang Li 2014-08-01 13:50:17 -07:00
  • d02ab151fe raft: return offset for unstableEnts Yicheng Qin 2014-07-25 12:03:03 -07:00
  • 5fd6d69a76 raft: add unstableState Xiang Li 2014-07-24 14:11:53 -07:00
  • c0532a4f2d 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
  • bcb2604c2f server: move id to the head of log line Yicheng Qin 2014-07-23 16:51:22 -07:00
  • 9affacd4b4 server: add first level logging Yicheng Qin 2014-07-23 16:37:59 -07:00
  • d500721643 raft: log->raftlog Xiang Li 2014-07-23 16:15:25 -07:00
  • 1918f334da 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
  • 09549218b3 etcd: add a bootstrap test Xiang Li 2014-07-22 22:49:16 -07:00
  • 98ca8ece1c etcd: fix start test goroutine leak Xiang Li 2014-07-22 22:47:24 -07:00
  • daeaf4ec68 etcd: reorganize etce_start test Xiang Li 2014-07-22 21:34:23 -07:00
  • 3df003181d all: discovery moved to etcd/ yet Yicheng Qin 2014-07-22 17:55:57 -07:00
  • 965ec82c43 server: add bootstrap tests Yicheng Qin 2014-07-22 17:16:15 -07:00
  • fd75224ab3 server: add discovery Yicheng Qin 2014-07-22 09:51:44 -07:00
  • 125db292ca raft: heartbeat should not contain entries Xiang Li 2014-07-22 13:44:44 -07:00
  • dfa2d06fb8 server: move TestModeChange to functional tests Yicheng Qin 2014-07-22 08:55:07 -07:00
  • a61927bd46 etcd: add a simple endtoend benchmark Xiang Li 2014-07-21 22:43:32 -07:00
  • 4eec3f2980 etcd: refactor waitCluster Xiang Li 2014-07-21 17:05:17 -07:00
  • df25cbacae main: do not pass id to etcd Xiang Li 2014-07-21 16:45:03 -07:00
  • 509c97e503 etcd: generate a id for the new participant after a mode switch Xiang Li 2014-07-21 16:44:15 -07:00
  • 35e3449c38 etcd: standby does not need to send join Xiang Li 2014-07-21 14:45:12 -07:00
  • d254d6c375 etcd: add clusterid to participant Xiang Li 2014-07-20 12:13:27 -07:00
  • ba98412d41 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
  • 7240faf7d9 etcd: fix standby test Xiang Li 2014-07-20 11:59:49 -07:00
  • 090c4b4d87 etcd: standby should not be in a tight loop Xiang Li 2014-07-20 11:43:39 -07:00
  • e362c84b34 raft: add clusterId Xiang Li 2014-07-20 10:51:15 -07:00
  • 0abe6a67dc raft: forbid to use none as id Yicheng Qin 2014-07-19 14:01:11 -07:00
  • 90b2fe8f09 raft: use From field to distinguish local message Yicheng Qin 2014-07-19 13:56:02 -07:00
  • 7cc288daf1 etcd: remove nodes in standby Xiang Li 2014-07-19 09:32:18 -07:00
  • 53202cee9f server: notice 2013 -> 2014 Yicheng Qin 2014-07-18 15:59:39 -07:00
  • 25171651b5 server: add notice comment to all files Yicheng Qin 2014-07-18 15:51:08 -07:00
  • bbc9eb3347 etcd: fix serverHttp Xiang Li 2014-07-18 14:17:28 -07:00
  • 78733ce178 standby: fix leader var race Yicheng Qin 2014-07-18 14:12:56 -07:00
  • 24eafd9eca server: retry remove in TestBecomeStandby Yicheng Qin 2014-07-18 13:56:40 -07:00
  • 9693421e72 etcd: move raftprefix to raft_handler Xiang Li 2014-07-18 13:57:33 -07:00
  • 672b5ed33f etcd: remove participant.seeds Xiang Li 2014-07-18 13:53:59 -07:00
  • 8ac0cee2db etcd: remove unncessary code in participant Xiang Li 2014-07-18 13:49:51 -07:00
  • b98f5bfb04 etcd: fix a race in peer.go Xiang Li 2014-07-18 13:46:29 -07:00
  • 2562dff58b server: move var noneId to standby.go Yicheng Qin 2014-07-18 13:34:54 -07:00
  • a8fe610bef server: remove func barrier Yicheng Qin 2014-07-18 13:29:55 -07:00
  • 046b8bf45e participant: retry join more times Yicheng Qin 2014-07-18 13:15:07 -07:00
  • b0af63b278 server: fix possible race when switching mode Yicheng Qin 2014-07-18 11:28:35 -07:00
  • 247b944051 participant: stop http serving when stopped Yicheng Qin 2014-07-18 11:05:09 -07:00
  • 246a01b155 server: remove modeC var Yicheng Qin 2014-07-18 10:01:39 -07:00
  • 562a8cc3c5 etcd: abstract out mode change logic Xiang Li 2014-07-18 08:44:43 -07:00
  • 2631abbfda etcd: cleanup etcd.go Xiang Li 2014-07-18 08:38:49 -07:00
  • 45713fd61f server: refactor server Yicheng Qin 2014-07-18 01:36:58 -07:00
  • 068fb101e5 etcd: stop peerhub Xiang Li 2014-07-17 14:06:23 -07:00
  • 230050ed95 etcd: cleanup peerhub Xiang Li 2014-07-17 13:30:38 -07:00
  • 59c499d93f server: fix possible join back in TestRemove Yicheng Qin 2014-07-17 13:22:26 -07:00