Yicheng Qin
|
d4dcd39b83
|
Merge pull request #1906 from yichengq/261
rafthttp: log the type of message that is dropped when sending
|
2014-12-10 13:23:24 -08:00 |
|
Yicheng Qin
|
07e876592b
|
rafthttp: log the type of message that is dropped when sending
|
2014-12-10 12:50:31 -08:00 |
|
Yicheng Qin
|
4777cba995
|
Merge pull request #1898 from robszumski/improve-logging
Improve logging for etcdserver and rafthttp
|
2014-12-10 10:46:47 -08:00 |
|
Rob Szumski
|
2593914973
|
rafthttp: feedback
|
2014-12-10 10:18:01 -08:00 |
|
Yicheng Qin
|
ce0b0ef418
|
Merge pull request #1900 from diffoperator/etcd_tests
etcdserver: removed an unhelpful test failure message
|
2014-12-09 23:10:07 -08:00 |
|
Nikhil Sarda
|
a852936a59
|
etcdserver: removed an unhelpful test failure message
this commit changes instances of "blah" in a test to more
descriptive messages
|
2014-12-09 21:45:50 -08:00 |
|
Rob Szumski
|
4094812b39
|
rafthttp: improve start/stop logging
|
2014-12-09 16:57:40 -08:00 |
|
Rob Szumski
|
13f3158728
|
etcdserver: improve discovery ignore warning
|
2014-12-09 15:57:25 -08:00 |
|
Xiang Li
|
e4c0f5c1a8
|
Merge pull request #1895 from xiang90/snap_nodes
etcd: update conf when apply the confChange entry
|
2014-12-09 11:45:01 -08:00 |
|
Xiang Li
|
a5efbf826d
|
raft: drop nodes in softState
|
2014-12-09 11:43:52 -08:00 |
|
Yicheng Qin
|
0472ddf05f
|
Merge pull request #1890 from yichengq/259
raft: set raft.Commit too when setting raftLog.committed
|
2014-12-09 11:28:05 -08:00 |
|
Xiang Li
|
29d7a2a558
|
etcd: update conf when apply the confChange entry
|
2014-12-08 23:37:07 -08:00 |
|
Yicheng Qin
|
4804c45e14
|
raft: set raft.Commit too when setting raftLog.committed
|
2014-12-08 22:35:55 -08:00 |
|
Yicheng Qin
|
22dd3b039c
|
Merge pull request #1888 from yichengq/258
raft: increase term to 1 before append initial entries
|
2014-12-08 22:27:23 -08:00 |
|
Yicheng Qin
|
7317834417
|
raft: increase term to 1 before append initial entries
Because the term of new raft is 0, it is weird to have term-1 committed
entries in the log.
|
2014-12-08 22:21:39 -08:00 |
|
Xiang Li
|
20e2c8f431
|
Merge pull request #1894 from xiang90/fix_snap
snap: error on empty snapshot
|
2014-12-08 22:02:19 -08:00 |
|
Xiang Li
|
e981dda287
|
snap: error on empty snapshot
|
2014-12-08 21:45:28 -08:00 |
|
Yicheng Qin
|
9c8f5c9535
|
Merge pull request #1891 from yichengq/257
etcdserver: init state before run loop correctly
|
2014-12-08 16:38:33 -08:00 |
|
Xiang Li
|
325e768c7b
|
Merge pull request #1889 from xiang90/chord_raft
Chord raft
|
2014-12-08 16:35:42 -08:00 |
|
Yicheng Qin
|
13814c9d7d
|
etcdserver: init state before run loop correctly
|
2014-12-08 16:13:16 -08:00 |
|
Yicheng Qin
|
7e06d85651
|
etcdserver: apply entries when it is not empty
Or it updates appliedi wrongly.
|
2014-12-08 15:56:38 -08:00 |
|
Xiang Li
|
ba45637ba3
|
raft: group step funcs
|
2014-12-08 15:29:54 -08:00 |
|
Xiang Li
|
099f4f10ea
|
raft: one line
|
2014-12-08 15:28:48 -08:00 |
|
Yicheng Qin
|
dfbe16445d
|
Merge pull request #1882 from yichengq/256
etcdserver: correct the log about recovering from snapshot
|
2014-12-08 15:25:19 -08:00 |
|
Xiang Li
|
8ead428e76
|
raft: group getter funcs
|
2014-12-08 15:24:34 -08:00 |
|
Xiang Li
|
f73d059d80
|
raft: group configuration related funcs
|
2014-12-08 15:23:21 -08:00 |
|
Xiang Li
|
25313b1210
|
raft: move poll close to campaign
|
2014-12-08 15:21:57 -08:00 |
|
Xiang Li
|
d52c66ad42
|
raft: removed unused func
|
2014-12-08 15:20:43 -08:00 |
|
Xiang Li
|
a5ec7040e0
|
Merge pull request #1887 from xiang90/raft_logging
raft: refactoring logging
|
2014-12-08 15:17:20 -08:00 |
|
Xiang Li
|
62ed1de10d
|
raft: refactoring logging
|
2014-12-08 15:16:02 -08:00 |
|
Yicheng Qin
|
71f3b80fbe
|
etcdserver: check recovery error when new server
|
2014-12-08 14:55:23 -08:00 |
|
Yicheng Qin
|
8c338ffcc7
|
etcdserver: correct the log about recovering from snapshot
|
2014-12-08 14:51:42 -08:00 |
|
Xiang Li
|
b4773a15b2
|
Merge pull request #1886 from xiang90/raft_log
raft: print out log when creating a newraft
|
2014-12-08 14:47:04 -08:00 |
|
Xiang Li
|
6cb7f2d9e9
|
raft: print out log when creating a newraft
|
2014-12-08 14:37:39 -08:00 |
|
Xiang Li
|
576aba700e
|
Merge pull request #1885 from xiang90/doc
Doc
|
2014-12-08 14:16:16 -08:00 |
|
Xiang Li
|
8065206839
|
doc: fix typo
|
2014-12-08 14:15:37 -08:00 |
|
Xiang Li
|
cd878ea9a9
|
doc: add a link to the peer url section in other_apis.go
|
2014-12-08 14:14:33 -08:00 |
|
Xiang Li
|
091cc237e3
|
Merge pull request #1883 from xiang90/member_migration
doc: add doc for member migration
|
2014-12-08 14:09:09 -08:00 |
|
Xiang Li
|
069578c29c
|
doc: add doc for member migration
|
2014-12-08 14:08:01 -08:00 |
|
Xiang Li
|
31b9f712ba
|
Merge pull request #1879 from xiang90/peer_url_doc
doc: add doc for changing peer urls
|
2014-12-08 13:40:47 -08:00 |
|
Xiang Li
|
706b6f96b3
|
doc: http status for other_apis.md
|
2014-12-08 13:10:21 -08:00 |
|
Xiang Li
|
e83e2bff92
|
doc: refactor other_apis.md
|
2014-12-08 11:46:24 -08:00 |
|
Xiang Li
|
2b519c90b9
|
doc: add doc for changing peer urls
|
2014-12-08 11:43:14 -08:00 |
|
Yicheng Qin
|
f10f7802be
|
Merge pull request #1874 from bdarnell/bootstrap-apply
Pre-apply the bootstrapping ConfChange entries.
|
2014-12-08 10:52:33 -08:00 |
|
Yicheng Qin
|
f63d51e40f
|
Merge pull request #1878 from yichengq/253
rafthttp: increase sender buffer size
|
2014-12-07 22:38:50 -08:00 |
|
Yicheng Qin
|
b24d546bd0
|
rafthttp: increase sender buffer size
The buffer size is set big enough to buffer all messages generated in
one second as a follower in good path.
|
2014-12-07 22:35:50 -08:00 |
|
Ben Darnell
|
ea4d645a83
|
raft: Ignore redundant addNode calls.
This avoids clobbering any state when bootstrapping entries are
applied twice.
|
2014-12-05 17:15:50 -05:00 |
|
Ben Darnell
|
3d91faf85a
|
Pre-apply the bootstrapping ConfChange entries.
This eliminates the need to fake an ApplyConfChange call before Campaign
in tests.
Fixes #1856.
|
2014-12-05 15:35:39 -05:00 |
|
Xiang Li
|
6bfa5d409e
|
Merge pull request #1872 from xiang90/fix_watcher_race
store: fix race in watcher_hub
|
2014-12-05 12:12:07 -08:00 |
|
Xiang Li
|
793cb095b0
|
store: fix race in watcher_hub
Get the lock before modifing the global objects in the hub.
|
2014-12-05 12:09:48 -08:00 |
|