3026 Commits

Author SHA1 Message Date
Xiang Li
3516cc3ee5 *: change all ID to uint64 2014-10-12 08:38:48 +08:00
Yicheng Qin
f16a272898 Merge pull request #1234 from unihorn/152
etcdserver: save PeerURLs and Others into two different keys
2014-10-10 12:21:32 -07:00
Yicheng Qin
f8b338d423 Merge pull request #1236 from unihorn/153
wal: record node id at the head of WAL file
2014-10-10 12:09:17 -07:00
Yicheng Qin
447caf1afc etcdserver/wal: record info at the head of WAL file 2014-10-10 11:57:09 -07:00
Yicheng Qin
181cbbdfe0 Merge pull request #1280 from RichardHightower/patch-2
Update clients-matrix.md
2014-10-10 10:05:26 -07:00
Yicheng Qin
d241275518 Merge pull request #1275 from RichardHightower/patch-1
Update libraries-and-tools.md
2014-10-10 09:58:32 -07:00
Richard Hightower
2ec999ab3b Update clients-matrix.md 2014-10-10 02:03:35 -07:00
Yicheng Qin
77271b0663 etcdserver: split Member into RaftAttributes and Attributes
The split helps to save them in different key paths, because they have
distinct life cycle on update.
2014-10-09 20:28:00 -07:00
Barak Michener
74ab003e1f Merge pull request #1256 from barakmich/retry
Add logging and backoff and simple retry logic
2014-10-09 13:24:14 -04:00
Barak Michener
5e7267a751 last comment 2014-10-09 13:16:45 -04:00
Xiang Li
3e5073e9be Merge pull request #1261 from coreos/uint
raft: int64 -> uint64
2014-10-09 14:47:03 +08:00
Xiang Li
1eb1020717 raft: fix raft test 2014-10-09 14:42:29 +08:00
Xiang Li
8bbbaa88b2 *: raft related int64 -> uint64 2014-10-09 14:29:21 +08:00
Xiang Li
af5b8c6c44 raft: int64 -> uint64 2014-10-09 14:26:43 +08:00
Richard Hightower
8c5aa16d03 Update libraries-and-tools.md 2014-10-08 21:50:22 -07:00
Barak Michener
5fde52a403 add too many retries test case 2014-10-08 21:58:19 -04:00
Barak Michener
9b35ca3a52 simplify and multiple retry 2014-10-08 21:53:15 -04:00
Xiang Li
38af14b0f4 Merge pull request #1260 from coreos/snap_rm
raft: save removed nodes in snapshot
2014-10-09 08:00:33 +08:00
Barak Michener
dbac2e8f15 test retry logic 2014-10-08 19:41:59 -04:00
Jonathan Boulle
ea99d3c002 Merge pull request #1269 from jonboulle/disco_warn
etcdserver: add discovery warning message
2014-10-08 16:24:51 -07:00
Jonathan Boulle
682008724d etcdserver: add discovery warning message 2014-10-08 16:09:12 -07:00
Xiang Li
abe97e49d5 raft: more comment 2014-10-09 07:02:05 +08:00
Xiang Li
73f2aaf98f raft: removedSlice -> removedNodes 2014-10-09 06:55:25 +08:00
Xiang Li
c67fd14fe8 Merge pull request #1257 from bdarnell/cleanups
Raft: assorted cleanups (golint and go vet)
2014-10-09 05:55:21 +08:00
Jonathan Boulle
b4a7680bc4 Merge pull request #1268 from jonboulle/store_typo
store: fix typo "recurisive"
2014-10-08 14:22:07 -07:00
Jonathan Boulle
a07c51a9c9 store: fix typo "recurisive" 2014-10-08 14:13:38 -07:00
Ben Darnell
d2e858587f Raft: a few more improvements to test messages. 2014-10-08 15:07:11 -04:00
Xiang Li
7b61565c0a raft: save removed nodes in snapshot 2014-10-08 15:33:55 +08:00
Barak Michener
f3870598b9 fix retry to not retry on createSelf() 2014-10-07 21:20:45 -04:00
Xiang Li
5f3fe7c61f Merge pull request #1254 from coreos/rand_etimeout
Rand etimeout
2014-10-08 08:10:26 +08:00
Xiang Li
1cd3345e00 raft: address issues with election timeout 2014-10-08 07:41:17 +08:00
Yicheng Qin
75f6643982 Merge pull request #1212 from unihorn/144
etcdserver: apply config change on cluster store
2014-10-07 16:32:59 -07:00
Yicheng Qin
8e8719f6ac etcdserver: Create, Delete -> Add, Remove 2014-10-07 16:21:58 -07:00
Ben Darnell
1083ce8f73 raft: remove misleading labels in array definition
Since these are arrays instead of maps, the "keys" here are actually
(useless) goto labels. What really matters is that the ordering is
the same between the constant declarations and the array.
2014-10-07 18:44:06 -04:00
Ben Darnell
36558b1924 Raft: fix printf strings found by go vet. 2014-10-07 18:44:06 -04:00
Ben Darnell
3ad0df3722 Raft: fix problems reported by golint. 2014-10-07 18:44:06 -04:00
Ben Darnell
fe0e168b3b Add *.test to gitignore.
These files are left by some go commands.
2014-10-07 18:22:09 -04:00
Barak Michener
ca1bbee737 add logging and backoff and simple retry logic 2014-10-07 16:58:58 -04:00
Brandon Philips
5b8c4f4e0d Merge pull request #1251 from philips/hack-insta-discovery
hack: introduce a insta-discovery script
2014-10-07 13:47:03 -07:00
Yicheng Qin
cdea98d434 etcdserver: skip bootstrap addNode entry
This is a hack to make etcd work normally.
2014-10-07 11:11:31 -07:00
Yicheng Qin
6a62621695 etcdserver: update panic info 2014-10-07 11:04:50 -07:00
Yicheng Qin
3859297225 etcdserver: check id match 2014-10-07 11:04:50 -07:00
Yicheng Qin
d051af4d3d etcdserver: apply config change on cluster store 2014-10-07 11:04:50 -07:00
Brandon Philips
ef0ed31210 hack: introduce a insta-discovery script
This sets up a localhost cluster via a new discovery token. Very useful
for testing.
2014-10-07 10:52:40 -07:00
Xiang Li
f65d117462 raft: add a test for randElectionTimeout 2014-10-07 20:34:15 +08:00
Xiang Li
d7d6f84f64 raft: rand election timeout 2014-10-07 20:12:49 +08:00
Jonathan Boulle
2e0fec7a84 Merge pull request #1253 from jonboulle/streaming_events
store: use a larger buffer for eventChan
2014-10-07 02:14:20 -07:00
Jonathan Boulle
26160b2154 store: use a larger buffer for eventChan
The event channel for watches can drop events too easily in the case of
streaming watches. This increases the buffer to a more useful level.
2014-10-07 01:57:05 -07:00
Xiang Li
3f3b9866c6 Merge pull request #1241 from coreos/compact
raft: compact takes index and nodes parameters
2014-10-07 16:07:25 +08:00
Xiang Li
45e4a8643a raft: add tests for raft.compact 2014-10-07 16:03:11 +08:00