Gyu-Ho Lee
d690634bd6
*: remove unused, fix typos
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-05-18 12:11:18 -07:00
Gyu-Ho Lee
e7d705b25f
Merge pull request #7953 from gyuho/aaa
...
etcd-tester: use 'debugutil.PProfHandlers'
2017-05-18 11:26:40 -07:00
Gyu-Ho Lee
e1640cc72f
etcd-tester: use 'debugutil.PProfHandlers'
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-05-18 11:21:24 -07:00
Anthony Romano
a6a1eb8378
Merge pull request #7949 from heyitsanthony/godocs
...
*: fill out missing package godocs
2017-05-18 10:23:26 -07:00
Anthony Romano
33c375dc44
*: fill out blank package godocs
...
Mostly one-liner short descriptions, but also includes some typo fixes
and some examples.
2017-05-18 09:41:13 -07:00
Anthony Romano
1f2dcbb935
Merge pull request #7948 from heyitsanthony/remove-proxy-alpha
...
op-guide: remove alpha from grpc proxy
2017-05-18 09:31:34 -07:00
Anthony Romano
c6cf88ef7f
op-guide: remove alpha from grpc proxy
2017-05-17 22:27:06 -07:00
Anthony Romano
4e84bd2e3c
Merge pull request #7946 from heyitsanthony/report-weighted
...
report: add NewWeightedReport
2017-05-17 21:04:53 -07:00
Anthony Romano
c09f0ca9d4
report: add NewWeightedReport
...
Reports with weighted results.
2017-05-17 16:07:20 -07:00
Xiang Li
218ee40f11
Merge pull request #7945 from xiang90/snapshot_error
...
etcdserver: more logging on snapshot close path
2017-05-17 15:36:53 -07:00
Xiang
32c252f003
etcdserver: more logging on snapshot close path
2017-05-17 14:48:52 -07:00
Anthony Romano
f4641accc3
Merge pull request #7943 from heyitsanthony/tcpproxy-init-msg
...
tcpproxy: display endpoints, not pointers, in ready to proxy string
2017-05-17 12:20:46 -07:00
Anthony Romano
b7cda38653
Merge pull request #7935 from heyitsanthony/bridge-latency
...
bridge: add tx-delay and rx-delay
2017-05-17 11:07:22 -07:00
Anthony Romano
5bd9b9614f
tcpproxy: display endpoints, not pointers, in ready to proxy string
...
The switch to *net.SRV for endpoints caused the ready string to emit
pointers instead of endpoint strings.
Fixes #7942
2017-05-17 10:51:35 -07:00
Anthony Romano
201fd70afc
Merge pull request #7934 from heyitsanthony/bench-rpc-mutex
...
benchmark: add rpc mutexes to stm benchmark
2017-05-17 10:44:00 -07:00
Gyu-Ho Lee
1763f7d4d1
Merge pull request #7919 from gyuho/log-dir
...
functional-tester: use log-dir as data-dir in etcd-agent
2017-05-16 13:46:57 -07:00
Anthony Romano
271785cd55
Merge pull request #7937 from heyitsanthony/e2e-close-timeout
...
e2e: Stop() lock/elect etcdctl process if Close times out
2017-05-16 12:34:36 -07:00
Anthony Romano
8f0d4092c3
e2e: Stop() lock/elect etcdctl process if Close times out
...
Gets backtrace by sending SIGQUIT if Close hangs after sending a SIGINT.
2017-05-16 11:31:23 -07:00
Gyu-Ho Lee
c6219a209d
Merge pull request #7933 from gyuho/travis
...
travis: test builds in other OSes
2017-05-15 22:25:52 -07:00
Anthony Romano
22db11f876
bridge: add tx-delay and rx-delay
...
Injects transmit and receive latencies.
2017-05-15 17:02:27 -07:00
Gyu-Ho Lee
d826f95c77
travis: test builds in other OSes
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-05-15 16:55:27 -07:00
Anthony Romano
b6e4858a25
benchmark: add rate limiting to stm
2017-05-15 15:42:54 -07:00
Anthony Romano
6526097bfc
benchmark: add rpc locks to stm benchmark
2017-05-15 15:42:26 -07:00
Gyu-Ho Lee
3e7feb4033
Merge pull request #7931 from gyuho/aaa
...
pkg/osutil: fix missing 'syscall' import
2017-05-15 14:47:46 -07:00
Gyu-Ho Lee
fba225cee5
pkg/osutil: fix missing 'syscall' import
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-05-15 14:11:54 -07:00
Gyu-Ho Lee
95078c296d
Merge pull request #7932 from gyuho/vet
...
*: remove unnecessary fmt.Sprint
2017-05-15 14:01:23 -07:00
Gyu-Ho Lee
e15020055e
*: remove unnecessary fmt.Sprint
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-05-15 13:23:31 -07:00
Anthony Romano
74fd7709ad
Merge pull request #7904 from heyitsanthony/osutil-exit
...
osutil: force SIG_DFL before resending terminating signal
2017-05-15 12:14:37 -07:00
Anthony Romano
31e3899663
Merge pull request #7925 from heyitsanthony/fix-windows-mmap
...
backend: force initial mmap size to 0 for windows
2017-05-13 21:42:58 -07:00
Anthony Romano
8516d8ccc5
backend: force initial mmap size to 0 for windows
...
boltdb on windows allocates a file with the full mmap size even if the
db is empty. Force the initial mmap size to 0 so there's no huge initial
db file on windows.
Fixes #7910
2017-05-12 14:34:07 -07:00
Anthony Romano
6ce9aed8c5
Merge pull request #7881 from heyitsanthony/testctl-logging
...
e2e: more debugging output for lock and elect tests
2017-05-12 12:01:08 -07:00
Anthony Romano
7a1739a3e8
osutil: force SIG_DFL before resending terminating signal
...
The go runtime won't always reinstall the default signal handler on the
SIGTERM path, so it's possible the signal won't terminate the process.
Instead, force SIG_DFL for the signal.
2017-05-12 11:56:27 -07:00
Anthony Romano
5b4677b7d7
integration: reset default logging level in TestRestartRemoved
2017-05-12 10:22:29 -07:00
Anthony Romano
b9f5a00b13
e2e: more debugging output for lock and elect etcdctl tests
...
Meant to debug #6464 and #6934
Dumps the output from the etcd/etcdctl servers and SIGQUITs to get a
golang backtrace in case of a hanged process.
2017-05-12 10:22:29 -07:00
Anthony Romano
90893735cf
Merge pull request #7917 from heyitsanthony/refactor-backend-paths
...
snap, etcdserver: tighten up snapshot path handling
2017-05-12 09:33:37 -07:00
Gyu-Ho Lee
2e3d27e910
functional-tester: use log-dir as data-dir in etcd-agent
...
Persistent data should be configured in agent side.
There is no need to specify the data-dir in tester side.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-05-12 08:30:46 -07:00
fanmin shi
f337754e72
Merge pull request #7914 from fanminshi/doc_snap_warning
...
*: faq for snapshot warning and dynamically determining snapshotWarningTimeout
2017-05-11 16:48:12 -07:00
Gyu-Ho Lee
aa58aff18c
Merge pull request #7918 from gyuho/archive-path
...
etcd-agent: store failure_archive in log dir
2017-05-11 16:34:43 -07:00
Gyu-Ho Lee
0bcab05465
etcd-agent: store failure_archive in log dir
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-05-11 16:30:04 -07:00
Anthony Romano
71d7c85b6b
expect: reload DEBUG_EXPECT for each process
...
Lets e2e test cases selectively turn on expect debugging to get
full application output written to stdout.
2017-05-11 16:09:31 -07:00
fanmin shi
16e92d1379
faq: explains "snapshotting is taking more..." warning
2017-05-11 15:25:44 -07:00
fanmin shi
8468b38631
backend: dynamically set snapshotWarningTimeout based on db size
2017-05-11 15:25:35 -07:00
Anthony Romano
7a65cb5847
Merge pull request #7916 from heyitsanthony/snip-extra-doc
...
clientv3: remove duplicate documentation for Do()
2017-05-11 14:45:35 -07:00
Anthony Romano
f6cd4d4f5b
snap, etcdserver: tighten up snapshot path handling
...
Computing the snapshot file path is error prone; snapshot recovery was
constructing file paths missing a path separator so the snapshot
would never be loaded. Instead, refactor the backend path handling
to use helper functions where possible.
2017-05-11 13:46:59 -07:00
Anthony Romano
63c7e9f840
clientv3: remove duplicate documentation for Do()
2017-05-11 13:25:26 -07:00
Gyu-Ho Lee
f63eb2f6a4
Merge pull request #7913 from gyuho/srv
...
pkg/srv: fix error checks from resolveTCPAddr
2017-05-11 12:12:01 -07:00
Gyu-Ho Lee
3505c254e1
pkg/srv: fix error checks from resolveTCPAddr
...
So that 'terr' can be returned later.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-05-11 10:53:03 -07:00
Anthony Romano
386374a6d0
Merge pull request #7908 from heyitsanthony/concurrency-proxy
...
grpcproxy: forward v3lock and v3election requests
2017-05-10 16:41:06 -07:00
fanmin shi
066062a5e0
Merge pull request #7902 from fanminshi/fix_runner
...
etcd-runner: remove mutex on validate() and release() in global.go
2017-05-10 13:12:09 -07:00
Anthony Romano
00da3ca725
integration: add lock and election services to proxy tests
2017-05-10 13:06:27 -07:00