Xiang Li
755a022fcf
etcdctlv3: better watch command
2016-02-19 11:42:37 -08:00
Xiang Li
a22bb7a4e8
Merge pull request #4562 from xiang90/get
...
etcdctlv3: better get command
2016-02-18 14:35:14 -08:00
Xiang Li
9ea8ed3a13
etcdctlv3: better get command
2016-02-18 14:19:51 -08:00
Xiang Li
d35a0d6533
Merge pull request #4563 from hongchaodeng/master
...
watch event docs
2016-02-18 13:59:25 -08:00
Hongchao Deng
93795745b0
storage: add watch event docs for create case
2016-02-18 13:58:36 -08:00
Anthony Romano
c9d233d69a
Merge pull request #4561 from heyitsanthony/gotip-shadow
...
integration: fix go vet -shadow error
2016-02-18 13:02:46 -08:00
Anthony Romano
55171707c3
Merge pull request #4560 from heyitsanthony/v3-delete-withfromkey
...
etcdserver: add >= support for v3 delete range
2016-02-18 13:02:03 -08:00
Xiang Li
94fe87f010
Merge pull request #4557 from xiang90/del
...
etcdctlv3: make del command better
2016-02-18 12:47:58 -08:00
Anthony Romano
4fc89678b2
etcdserver: add >= support for v3 delete range
2016-02-18 12:34:04 -08:00
Anthony Romano
270fa00e54
integration: fix go vet -shadow error
...
breaking go tip
2016-02-18 12:26:35 -08:00
Xiang Li
917d75f65e
etcdctlv3: make del command better
2016-02-18 12:23:34 -08:00
Anthony Romano
71288597da
Merge pull request #4556 from heyitsanthony/watcher-batch
...
storage: limit total unique revisions in unsynced watcher event list
2016-02-18 11:53:46 -08:00
Anthony Romano
7c17665a1a
storage: limit total unique revisions in unsynced watcher event list
2016-02-18 11:36:22 -08:00
Xiang Li
e6d6b648c4
Merge pull request #4553 from xiang90/raft_http
...
rafthttp: remove unncessary go routine
2016-02-18 10:47:45 -08:00
Anthony Romano
7d73d41758
Merge pull request #4555 from heyitsanthony/v3-with-prefix
...
clientv3: WithPrefix operation option
2016-02-18 10:37:24 -08:00
Gyu-Ho Lee
566fd02f62
Merge pull request #4558 from gyuho/path_fix
...
etcd-agent: get base when renaming
2016-02-18 09:15:27 -08:00
Gyu-Ho Lee
b2bad7bd79
etcd-agent: get base when renaming
...
Partially related to https://github.com/coreos/etcd/issues/4552 .
2016-02-18 09:03:34 -08:00
Xiang Li
2a3cacb60c
rafthttp: remove unncessary go routine
2016-02-18 07:57:58 -08:00
Xiang Li
4a041693de
Merge pull request #4550 from xiang90/etcdctl_put
...
etcdctlv3: make PUT command clean and documented
2016-02-18 07:50:59 -08:00
Xiang Li
535064924c
etcdctlv3: make PUT command clean and documented
2016-02-18 07:46:05 -08:00
Anthony Romano
59291770d6
clientv3: WithPrefix operation option
2016-02-18 01:27:06 -08:00
Gyu-Ho Lee
cf71b64286
Merge pull request #4549 from gyuho/path
...
functional-tester: remove log prefixes
2016-02-17 19:05:07 -08:00
Gyu-Ho Lee
061e996998
functional-tester: remove log prefixes
...
capnslog already prefixes with its package name.
2016-02-17 19:01:16 -08:00
Gyu-Ho Lee
6bfd45a83e
Merge pull request #4548 from gyuho/plog
...
functional-tester: plog for milli-second timestamp
2016-02-17 18:43:10 -08:00
Gyu-Ho Lee
7aa62ec595
functional-tester: plog for milli-second timestamp
...
Standard log package by default only prints out the second-scale
so the 3rd party log feeder mixes the order of the events, which makes
the debugging hard. This replaces it with capnslog and make them consistent
with all other etcd log formats.
2016-02-17 18:39:05 -08:00
Gyu-Ho Lee
40d3e0daff
Merge pull request #4547 from gyuho/timeout
...
etcd-tester: 10-second timeout for stressers
v2.3.0-alpha.1
2016-02-17 15:44:30 -08:00
Gyu-Ho Lee
239a6d89c5
etcd-tester: 10-second timeout for stressers
...
For https://github.com/coreos/etcd/issues/4477 .
2016-02-17 15:44:05 -08:00
Anthony Romano
ef2d3feca6
Merge pull request #4528 from heyitsanthony/fix-watchcurrev
...
fix several watcher races
2016-02-17 14:26:33 -08:00
Xiang Li
6b3fa6aa72
Merge pull request #4546 from xiang90/batch
...
rafthttp: smart batching
2016-02-17 14:05:11 -08:00
Anthony Romano
155412bbfa
integration: overlapped create and put v3 watcher test
2016-02-17 14:03:52 -08:00
Anthony Romano
af225e7433
v3rpc: don't race on current watcher header revision
2016-02-17 14:03:52 -08:00
Anthony Romano
2cbf7cf6d1
storage: do not send outdated events to unsynced watchers
2016-02-17 14:03:51 -08:00
Xiang Li
e4f22cd6d8
rafthtt: smart batching
...
Improved the overall performance more than 20% under heavyload
with little latency impact
heavy load
```
Requests/sec: ~23200 vs Requests/sec: ~31500
Latency distribution:
10% in 0.0883 secs.
25% in 0.1022 secs.
50% in 0.1207 secs.
75% in 0.1460 secs.
90% in 0.1647 secs.
95% in 0.1783 secs.
99% in 0.2223 secs.
vs
Latency distribution:
10% in 0.1119 secs.
25% in 0.1272 secs.
50% in 0.1469 secs.
75% in 0.1626 secs.
90% in 0.1765 secs.
95% in 0.1863 secs.
99% in 0.2276 secs.
```
Similar on light load too.
2016-02-17 13:17:12 -08:00
Xiang Li
a4105b5cce
Merge pull request #4542 from xiang90/t
...
rafthttp: refactoring
2016-02-17 09:17:44 -08:00
Anthony Romano
59e7be4a2a
v3api: send watch events only after sending watchid creation
...
If events show up before the watch id, the client won't be able
to match the event with the requested watcher.
2016-02-17 01:06:55 -08:00
Anthony Romano
019a145304
integration: put keys after watcher ack in TestV3WatchFromCurrentRevision
...
Watcher would miss events since the keys would be created after
sending the watcher request but before etcd registered the watcher.
2016-02-17 01:06:52 -08:00
Xiang Li
74382f56fb
rafthttp: handle short case in if statement
2016-02-16 19:26:51 -08:00
Xiang Li
d393102e24
rafthttp: refactor
2016-02-16 19:21:53 -08:00
Xiang Li
11d3e9ac69
rafthttp: better comment for streamWriter
2016-02-16 19:21:06 -08:00
Xiang Li
56318f5433
rafthttp: add necessary locking
2016-02-16 19:18:05 -08:00
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