Gyu-Ho Lee
976236b083
Merge pull request #4539 from xiang90/snap
...
*: record the number of bytes of snapshot sent/received
2016-02-16 16:39:22 -08:00
Xiang Li
994333e720
*: record the number of bytes of snapshot sent/received
2016-02-16 16:08:26 -08:00
Gyu-Ho Lee
31d2bb9739
Merge pull request #4537 from gyuho/mk
...
e2e: compare output in Go string literal
2016-02-16 16:01:20 -08:00
Gyu-Ho Lee
7cae2ae2a0
e2e: compare output in Go string literal
...
I manually print out the command outputs when the issue
was reproduced, and checked they are matching when compared as
Go string literals (UTF-8), but not when compared with regex.
Fixes https://github.com/coreos/etcd/issues/4480 .
2016-02-16 13:57:49 -08:00
Gyu-Ho Lee
82c3600cfa
Merge pull request #4536 from gyuho/tidy_cleanup
...
etcd-agent: tidy cleanup before SIGKILL
2016-02-16 13:25:40 -08:00
Gyu-Ho Lee
56e3ab0943
etcd-agent: tidy cleanup before SIGKILL
...
https://github.com/golang/go/blob/master/src/os/exec_posix.go#L18 shows that
cmd.Process.Kill calls syscall.SIGKILL to the command. But
http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_12_01.html explains
'If you send a SIGKILL to a process, you remove any chance for the process to
do a tidy cleanup and shutdown, which might have unfortunate consequences.'
This sends SIGTERM, SIGINT syscalls to the PID so that the process could
have more time to clean up the resources.
Related to https://github.com/coreos/etcd/issues/4517 .
2016-02-16 13:08:22 -08:00
Xiang Li
613a1e7fdd
Merge pull request #4535 from xiang90/mirrormaker
...
etcdctlv3: add initial mirrormaker
2016-02-16 11:34:11 -08:00
Xiang Li
f71e733b8e
etcdctlv3: add mirrormaker
2016-02-16 08:02:17 -08:00
Xiang Li
6ba9373962
clientv3/sync: fix getting empty key error
2016-02-15 22:01:11 -08:00
Xiang Li
30e4d7d6aa
Merge pull request #4532 from xiang90/ctlv3
...
etcdctlv3: refactoring
2016-02-15 20:12:04 -08:00
Xiang Li
d78cff2c4a
etcdctlv3: separate out cmd parsing logic for creating client
2016-02-15 14:44:25 -08:00
Gyu-Ho Lee
e75734aa68
Merge pull request #4529 from gyuho/govet
...
storage: shadowed err var fix at go-tip
2016-02-15 14:41:16 -08:00
Xiang Li
03a7f2e10f
etcdctlv3: secure is not HTTPS
2016-02-15 10:30:22 -08:00
Xiang Li
fe5500228a
Merge pull request #4523 from xiang90/syncer
...
*: move sync logic to clientv3/sync
2016-02-14 23:24:39 -08:00
Xiang Li
24a6abaf59
*: move sync logic to clientv3/sync
2016-02-14 22:52:34 -08:00
Gyu-Ho Lee
449c116a44
storage: shadowed err var fix at go-tip
2016-02-14 19:49:03 -08:00
Anthony Romano
0662db11ed
Merge pull request #4525 from heyitsanthony/fix-tls-proxy
...
e2e: tls proxy tests
2016-02-14 16:17:32 -08:00
Anthony Romano
1719bc0b0c
e2e: tls proxy tests
2016-02-14 00:55:07 -08:00
Anthony Romano
925629dad8
Merge pull request #4521 from heyitsanthony/fix-doublebarrierfailover
...
contrib/recipes: fix revision race in double barrier
2016-02-13 15:26:25 -08:00
Gyu-Ho Lee
20ac633059
Merge pull request #4516 from gyuho/path
...
etcd-agent: ignore error when no file to rename
2016-02-13 14:24:17 -08:00
Anthony Romano
0f7f375043
contrib/recipes: fix revision race in double barrier
...
current kv revision might be ahead of ready put event; watch using key's mod
revision instead.
Fixes #4425
2016-02-13 11:57:12 -08:00
Xiang Li
3d73e72bf6
Merge pull request #4049 from xiang90/raft_comment
...
raft: rework comment for advance interface
2016-02-13 10:22:18 -08:00
Xiang Li
cff1208005
Merge pull request #4520 from xiang90/bench
...
tools/benchmark: support serializable range benchmark
2016-02-13 09:25:24 -08:00
Xiang Li
4d0a2b4215
Merge pull request #4462 from mitake/benchmark-watch
...
tools/benchmark: revive watch benchmark
2016-02-13 09:24:00 -08:00
Xiang Li
3a9a1c7d9b
tools/benchmark: support serializable range benchmark
2016-02-13 09:23:35 -08:00
Hitoshi Mitake
99e7449f44
tools/benchmark: revive watch benchmark
...
Current watch benchmark seems to be broken. This commit revives it.
2016-02-14 01:15:04 +09:00
Gyu-Ho Lee
205033d25f
etcd-agent: ignore error when no file to rename
...
Fixes https://github.com/coreos/etcd/issues/4512 .
When cluster fails before creation of log or data directory
the file does not exist and cannot be renamed. This skips such
error because there's no need to store empty logs in failure_archive.
2016-02-12 16:37:04 -08:00
Xiang Li
c15b2a5077
Merge pull request #4514 from xiang90/tester
...
tools/functional-tester: add metrics
2016-02-12 14:45:10 -08:00
Gyu-Ho Lee
a30201c1d2
Merge pull request #4513 from gyuho/f1
...
etcd-tester: use Hash method to get both revision and hash
2016-02-12 14:44:52 -08:00
Xiang Li
1bec0e6a0b
tools/functional-tester: add metrics
2016-02-12 14:42:41 -08:00
Gyu-Ho Lee
5b2847b338
etcd-tester: use Hash method to get both revision and hash
2016-02-12 14:40:51 -08:00
Gyu-Ho Lee
93f2a4487a
Merge pull request #4507 from gyuho/better_hash
...
etcdserver: populate ResponseHeader in Hash method
2016-02-12 14:36:26 -08:00
Anthony Romano
7a6f5695bb
Merge pull request #4495 from heyitsanthony/snapshot-command
...
etcdctlv3: snapshot command
2016-02-12 14:34:47 -08:00
Gyu-Ho Lee
2710e4eed1
etcdserver: populate ResponseHeader in Hash method
2016-02-12 14:26:18 -08:00
Anthony Romano
91e2086d18
etcdctlv3: snapshot command
...
Partially addresses #4097
2016-02-12 14:19:26 -08:00
Anthony Romano
2415303991
clientv3: typedef <-chan WatchResponse to WatchChan
2016-02-12 14:06:59 -08:00
Anthony Romano
8e411b1b3b
clientv3: send compacted revision before closing watch chan
2016-02-12 14:06:59 -08:00
Anthony Romano
ee1a03167d
storage, v3: pass compaction revision through watchresponse
2016-02-12 14:06:59 -08:00
Anthony Romano
6851fffdfb
clientv3: support >= Range requests
...
Turns out grpc will convert an empty byte string to nil, so use "\0" to
indicate Range on >= key in v3 grpc protocol.
2016-02-12 14:06:59 -08:00
Xiang Li
390a4518c0
raft: rework comment for advance interface
2016-02-12 13:43:51 -08:00
Xiang Li
1d02559ae5
Merge pull request #4501 from xiang90/lt
...
integration: test switch lease via put
2016-02-12 13:20:05 -08:00
Xiang Li
11be967d12
Merge pull request #4510 from xiang90/client_support
...
clientv3: support serializable
2016-02-12 13:17:31 -08:00
Xiang Li
5908e5b601
clientv3: support serializable
2016-02-12 12:24:46 -08:00
Xiang Li
00f89941a9
Merge pull request #4508 from xiang90/l
...
*: support local range request
2016-02-12 12:14:53 -08:00
Xiang Li
30c11c1bca
*: support local range request
2016-02-12 12:04:06 -08:00
Xiang Li
895b50029f
Merge pull request #4506 from xiang90/w
...
refactoring watch integration test.
2016-02-12 10:11:20 -08:00
Anthony Romano
9cd45312d5
Merge pull request #4505 from heyitsanthony/v3-range-ge
...
storage: support ranges for >= key
2016-02-12 10:03:45 -08:00
Xiang Li
be1534812a
integration: give watch stream a timeout to fail the test fast
2016-02-12 09:58:15 -08:00
Xiang Li
8ed9ebf3e1
integration: WaitResponse -> waitResponse
2016-02-12 09:50:29 -08:00
Xiang Li
5f1d30b76a
integration: move watch tests to v3_watch_test.go
2016-02-12 09:47:33 -08:00