Gyu-Ho Lee
af3451be26
Merge pull request #7018 from gyuho/why
...
Documentation: add 'why.md'
2016-12-16 15:54:49 -08:00
Gyu-Ho Lee
bef87cc953
Documentation: add 'why.md'
2016-12-16 15:54:03 -08:00
Gyu-Ho Lee
f95f7a3027
Merge pull request #7028 from gyuho/faq
...
Documentation: add FAQs on membership operation
2016-12-16 15:37:21 -08:00
Gyu-Ho Lee
2f0e82a31e
Documentation: add FAQs on membership operation
...
Copy Anthony's answer from:
https://github.com/coreos/etcd/issues/6103
https://github.com/coreos/etcd/issues/6114
2016-12-16 15:13:40 -08:00
Anthony Romano
780d2f2a59
etcdctl: tighten up output, reorganize README.md
...
Documentation was far too repetitive, making it a chore to read and
make changes. All commands are now organized by functionality and all
repetitive bits about return values and output are in a generalized
subsections.
etcdctl's output handling was missing a lot of commands. Similarly,
in many cases an output format could be given but fail to report
an error as expected.
2016-12-16 13:54:20 -08:00
Anthony Romano
531c3061c1
Merge pull request #7023 from heyitsanthony/lease-freeze
...
clientv3: fix lease "freezing" on unhealthy cluster
2016-12-16 11:38:22 -08:00
Anthony Romano
a375e91c66
clientv3: don't reset keepalive stream on grant failure
...
Was triggering cancelation errors on outstanding KeepAlives if Grant
had to retry.
2016-12-16 10:36:51 -08:00
Anthony Romano
46bd842db9
clientv3/integration: test lease grant/keepalive with/without failures
2016-12-16 10:36:51 -08:00
Anthony Romano
87b1d9571f
v3api, rpctypes: add ErrTimeoutDueToConnectionLost
...
Lack of GRPC code was causing this to look like a halting error to the client.
2016-12-16 10:25:35 -08:00
Anthony Romano
d9e928de7a
Merge pull request #7020 from heyitsanthony/etcdctl-migrate-warn
...
etcdctl: warn when backend takes too long to open on migrate
2016-12-16 09:51:34 -08:00
Xiang Li
109577351b
Merge pull request #7022 from hongchaodeng/master
...
docs: explicitly set ETCDCTL_API=3 in recovery.md
2016-12-15 20:39:19 -08:00
Hongchao Deng
fa733e1e9c
docs: explicitly set ETCDCTL_API=3 in recovery.md
2016-12-15 20:10:30 -08:00
Anthony Romano
e71ff361a4
etcdctl: warn when backend takes too long to open on migrate
2016-12-15 18:57:57 -08:00
Brandon Philips
52e3dc5eb9
Documentation: minor fix nodes -> node
2016-12-15 21:27:52 -05:00
Gyu-Ho Lee
93e303ec71
Merge pull request #7017 from gyuho/faq
...
dev-guide: add limit.md
2016-12-15 15:45:23 -08:00
Gyu-Ho Lee
a1e572b460
dev-guide: add limit.md
2016-12-15 15:44:21 -08:00
Anthony Romano
5aeee917a7
Merge pull request #7006 from heyitsanthony/clusterid-split
...
Documentation: FAQ entry for cluster ID mismatches
2016-12-15 12:43:17 -08:00
Anthony Romano
14c851c863
Documentation: FAQ entry for cluster ID mismatches
2016-12-15 11:27:24 -08:00
Xiang Li
86a43849fb
Merge pull request #7010 from dennwc/keepalive-exit-err
...
clientv3: ensure KeepAlive channel is closed or error is returned
2016-12-15 08:06:36 -08:00
Xiang Li
35fd5dc9fc
Merge pull request #6903 from mitake/auth-member
...
protect membership change RPCs with auth
2016-12-15 08:04:31 -08:00
Denys Smirnov
b126e31132
clientv3: better error message for keep alive loop halt
2016-12-15 16:06:27 +02:00
Hitoshi Mitake
d46b753186
e2e: test cases of protecting membership change with auth
2016-12-15 22:54:20 +09:00
Hitoshi Mitake
86d7390804
auth, etcdserver: protect membership change operations with auth
...
This commit protects membership change operations with auth. Only
users that have root role can issue the operations.
Implements https://github.com/coreos/etcd/issues/6899
2016-12-15 22:54:20 +09:00
Denys Smirnov
5183ce0118
clientv3: add test for keep alive loop exit case
2016-12-15 03:02:44 +02:00
Denys Smirnov
e0bcd4d516
clientv3: return error from KeepAlive if corresponding loop exits
...
after recvKeepAliveLoop exits client might call KeepAlive adding request channel that will not be closed
this fix makes sure that recvKeepAliveLoop is running before adding request to lessor's list and returns error otherwise
Fixes #6922
2016-12-15 03:02:35 +02:00
Anthony Romano
d8513adf1d
Merge pull request #7007 from heyitsanthony/lease-close
...
clientv3: close Lease on client Close
2016-12-14 16:06:32 -08:00
Anthony Romano
26a3e9a740
membership: retry for 30s on advertise url check
2016-12-14 15:56:22 -08:00
Anthony Romano
29c30b2387
etcdserver: retry for 30s on advertise url check
2016-12-14 15:56:22 -08:00
Anthony Romano
13b05aeff8
netutil: ctx-ize URLStringsEqual
...
Handles the case where the DNS entry will only be set up after etcd
starts.
2016-12-14 15:46:30 -08:00
Anthony Romano
246fb29d8a
clientv3: close Lease on client Close
...
Fixes #6987
2016-12-14 12:11:17 -08:00
Anthony Romano
a9f72ee0d4
Merge pull request #7005 from heyitsanthony/fix-pprof
...
embed: deep copy user handlers
2016-12-14 12:05:37 -08:00
Gyu-Ho Lee
8f88632218
Merge pull request #6965 from gyuho/faq
...
Documentation: add more FAQs (follower, leader, sys-require)
2016-12-14 11:51:34 -08:00
Gyu-Ho Lee
626df4d77c
Documentation: add more FAQs (follower, leader, sys-require)
2016-12-14 11:36:07 -08:00
Anthony Romano
cc931a2319
embed: deep copy user handlers
...
Shallow copy of user handlers leads to a nil map assignment when
enabling pprof. Since the map is being modified, it should probably
be deep copied into the server context, which fixes the crash.
2016-12-14 10:17:32 -08:00
Gyu-Ho Lee
4ca78aa89f
Merge pull request #7004 from fbarbeira/patch-3
...
op-guide/clustering: fix typo
2016-12-14 09:52:37 -08:00
Félix Barbeira
972ef3c92e
op-guide/clustering: fix typo
2016-12-14 18:51:30 +01:00
Xiang Li
1e60f88786
Merge pull request #6999 from leonliao/patch-1
...
Documentation: use port 2379 in local cluster guide
2016-12-14 09:29:20 -08:00
leonliao
cb9277f339
Documentation: use port 2379 in local cluster guide
...
The port in endpoints should be 2379, instead of 12379.
2016-12-14 15:09:21 +08:00
Gyu-Ho Lee
cdde0368ad
Merge pull request #6997 from gyuho/range
...
auth: improve 'removeSubsetRangePerms' to O(n)
2016-12-13 16:14:37 -08:00
Gyu-Ho Lee
a53175949e
auth: improve 'removeSubsetRangePerms' to O(n)
2016-12-13 15:43:23 -08:00
Xiang Li
454f1da2f2
Merge pull request #6996 from xiang90/hardware
...
doc: add hardware section
2016-12-13 12:53:52 -08:00
Xiang Li
e3d8ef4cea
doc: add hardware section
2016-12-13 12:42:47 -08:00
Gyu-Ho Lee
1a8e78cd55
Merge pull request #6994 from gyuho/etcd-tester-fix-leak
...
etcd-tester: cancel lease stream; fix OOM panic
2016-12-13 10:44:54 -08:00
Gyu-Ho Lee
301abddc72
etcd-tester: cancel lease stream; fix OOM panic
...
It was never closing lease keep-alive streams, leaking memory.
Fix OOM panics in etcd-tester (after 1K rounds).
2016-12-13 09:56:30 -08:00
Gyu-Ho Lee
cc37beff35
Merge pull request #6995 from gyuho/etcd-tester-pprof
...
etcd-tester: add 'enable-pprof' option
2016-12-13 08:02:47 -08:00
Xiang Li
4e831810c9
Merge pull request #6993 from cloudaice/build-bug
...
build: remove dir use -r flag
2016-12-13 07:57:31 -08:00
Gyu-Ho Lee
7d16e7d27e
etcd-tester: add 'enable-pprof' option
2016-12-13 05:03:27 -08:00
cloudaice
b294ab13a4
build: remove dir use -r flag
2016-12-13 16:08:50 +08:00
Anthony Romano
797d826117
Merge pull request #6979 from heyitsanthony/fields-fmt
...
etcdctl: "fields" output formats
2016-12-12 15:17:12 -08:00
Anthony Romano
5f3140987e
etcdctl: "fields" output formats
...
Writes out fields from responses in the format "FieldName" : FieldValue. If
FieldValue is a string, it is formatted with %q.
2016-12-12 13:21:20 -08:00