Xiang Li
c16cc3a6a3
etcdserver: recover transport when recovering from a snapshot
2015-02-13 10:16:28 -08:00
Xiang Li
d7840b75c3
Merge pull request #2301 from xiang90/fix_snap
...
integration: fix test
2015-02-13 10:03:45 -08:00
Xiang Li
aed2c82e44
integration: fix test
2015-02-13 10:02:42 -08:00
Xiang Li
39ee85470f
Merge pull request #2300 from xiang90/fix_snap
...
etcdserver: fix snapshot
2015-02-13 09:56:19 -08:00
Xiang Li
fbc4c8efb5
etcdserver: fix snapshot
2015-02-13 09:54:25 -08:00
Xiang Li
12999ba083
Merge pull request #2298 from barakmich/issue2295
...
etcdserver: Unmask the snapshotter. Fixes #2295
2015-02-13 09:38:58 -08:00
Barak Michener
a0e3bc9cbd
etcdserver: Unmask the snapshotter. Fixes #2295
2015-02-13 11:56:00 -05:00
Xiang Li
b06e43b803
Merge pull request #2289 from fabxc/feature/graceful_shutdown
...
main: shutdown gracefully.
2015-02-13 07:34:07 -08:00
Fabian Reinartz
8bf795dc3c
etcdmain/osutil: shutdown gracefully, interrupt handling
...
The functionality in pkg/osutil ensures that all interrupt handlers finish
and the process kills itself with the proper signal.
Test for interrupt handling added.
The server shutsdown gracefully by stopping on interrupt (Issue #2277.)
2015-02-13 10:28:53 +01:00
Xiang Li
daf1a913bb
Merge pull request #2287 from Amit-PivotalLabs/master
...
rafthttp/transport.go: Fix nil pointer dereference in RemovePeer
2015-02-12 14:49:12 -08:00
Amit Gupta
317e57a8a8
rafthttp: Panic informatively when removing unknown peer ID
2015-02-12 14:43:44 -08:00
Yicheng Qin
a71184424a
*: bump to v2.0.2+git
2015-02-12 11:41:48 -08:00
Yicheng Qin
409daceb73
*: bump to v2.0.2
v2.0.2
2015-02-12 11:14:50 -08:00
Barak Michener
c6cc276ef0
Merge pull request #2286 from barakmich/fix_migrations
...
etcdserver: Canonicalize migrations
2015-02-12 12:53:33 -05:00
Barak Michener
cd50f0e058
etcdserver: Create MemberDir() and base {Snap,WAL}Dir() thereon. Audit DataDir.
2015-02-12 12:45:19 -05:00
Barak Michener
fade9b6065
etcdserver: Refactor 2.0.1 directory rename into a proper migration
...
fix all instances
fix detection test
2015-02-12 11:53:19 -05:00
Xiang Li
590205b8c0
Merge pull request #2284 from xiang90/cleanup
...
Cleanup
2015-02-11 16:21:10 -08:00
Xiang Li
163f0f09f6
etcdserver: cleanup cluster_util
2015-02-11 16:20:38 -08:00
Xiang Li
20497f1f85
etcdserver: move remote cluster retrive to cluster_util.go
2015-02-11 14:03:14 -08:00
Xiang Li
4a0887ef7a
Merge pull request #2283 from xiang90/etcd-dump
...
etcd dump
2015-02-11 11:24:05 -08:00
Xiang Li
161b1d2e2e
tools: etcd-dump-logs tool support dump from a given snapshot file
2015-02-11 10:50:04 -08:00
Xiang Li
71bed48916
snap: add Read function
2015-02-11 10:21:19 -08:00
Yicheng Qin
fe1d9565c2
*: bump to 2.0.1
v2.0.1
2015-02-10 20:19:35 -08:00
Rob Szumski
a81e147d8f
Merge pull request #2281 from robszumski/docs-migrate
...
docs: add diagram and restructure for clarity
2015-02-10 17:45:24 -08:00
Rob Szumski
24b953a55d
docs: add diagram and restructure for clarity
2015-02-10 17:34:23 -08:00
Yicheng Qin
54bef0d2cd
Merge pull request #2233 from yichengq/315
...
docs: add allow_legacy_mode.md
2015-02-10 15:46:52 -08:00
Yicheng Qin
d0677a24dd
docs: add allow_legacy_mode.md
2015-02-10 15:46:26 -08:00
Xiang Li
bdc8cc1f54
Merge pull request #2278 from xiang90/ctl
...
etcdctl: add default peerurl for upgrade subcmd
2015-02-10 15:35:04 -08:00
Xiang Li
b036c384a5
Merge pull request #2280 from gabesullice/typo-fix
...
documentation: fix typo in Documentation/clustering.md
2015-02-10 15:24:17 -08:00
gabesullice
df2a689d1c
documentation: fix typo in Documentation/clustering.md
...
just an extra space needed to be removed.
Fixes #2279
2015-02-10 16:18:51 -07:00
Xiang Li
f97a263a95
etcdctl: add default peerurl for upgrade subcmd
2015-02-10 15:13:12 -08:00
Xiang Li
96ea0ff45c
Merge pull request #2274 from xiang90/fix_stats
...
rafthttp: remove follower from leaderstats when it is removed from the c...
2015-02-10 11:27:29 -08:00
Xiang Li
58112c4d2d
rafthttp: remove follower from leaderstats when it is removed from the cluster
2015-02-10 11:22:33 -08:00
Yicheng Qin
d74e74d320
Merge pull request #2261 from yichengq/322
...
migrate: fix setting commit index from snapshot
2015-02-10 09:57:24 -08:00
Yicheng Qin
9834875d35
Merge pull request #2271 from yichengq/323
...
etcdmain: infer bind addr from addr in v1 flagset
2015-02-10 09:53:37 -08:00
Xiang Li
9460b6efda
Merge pull request #2267 from xiang90/fix_snapconf
...
etcdserver: save confstate when apply new snapshot
2015-02-10 09:44:10 -08:00
Yicheng Qin
57dd8c18cc
etcdmain: infer bind addr from addr in v1 flagset
2015-02-10 09:42:10 -08:00
Yicheng Qin
9ec8ea47c8
Merge pull request #2272 from yichengq/324
...
rafthttp: not send 0-entry MsgApp using stream
2015-02-10 09:40:32 -08:00
Xiang Li
6e1aecfc6f
etcdserver: save confstate when apply new snapshot
2015-02-10 07:31:25 -08:00
Yicheng Qin
96fde55a0f
rafthttp: not send 0-entry MsgApp using stream
...
It is not sent out because it is useless to let remote raft step the
message.
Moreover, MsgApp stream reader can always assume that the length
of entries sent is > 0.
2015-02-10 00:02:22 -08:00
Yicheng Qin
84dac75ed5
Merge pull request #2213 from yichengq/317
...
migrate/starter: fix --version output
2015-02-09 23:18:35 -08:00
Xiang Li
1481ef9a5e
Merge pull request #2264 from xiang90/pause
...
rafttest: support node pause
2015-02-09 18:54:56 -08:00
Xiang Li
fa66055f66
rafttest: drop isPaused
2015-02-09 18:52:34 -08:00
Xiang Li
085b608de9
rafttest: support node pause
2015-02-09 16:26:43 -08:00
Xiang Li
3c9c4c4afa
Merge pull request #2249 from xiang90/rttest
...
raftest: wait for network sending
2015-02-09 15:55:30 -08:00
Xiang Li
279b216f9a
raftest: wait for network sending
2015-02-09 15:52:16 -08:00
Kelsey Hightower
8788c74b48
Merge pull request #2263 from xiang90/cread
...
Documentation: document kv api change
2015-02-09 15:46:45 -08:00
Xiang Li
8d663078bf
Documentation: document kv api change
2015-02-09 15:35:15 -08:00
Yicheng Qin
0242faa838
Merge pull request #2257 from yichengq/321
...
docs: fix stats response in api.md
2015-02-09 14:46:57 -08:00
Xiang Li
9c850b7182
Merge pull request #2259 from xiang90/healthy
...
etcdctl: support healthy checking
2015-02-09 14:38:43 -08:00