3519a9784e
Merge pull request #7039 from mitake/benchmark-dialtimeout
...
benchmark: a new option for configuring dial timeout
2016-12-28 13:12:11 -08:00
9690220cd1
Merge pull request #7064 from heyitsanthony/fix-health-perms
...
etcdctl: treat permission denied as healthy endpoint
2016-12-28 13:04:55 -08:00
e2463569e7
v2http: submit QGET in health endpoint if no progress
...
Removing the periodic SYNC calls broke the health endpoint since the
raft index stops updating. Instead, don't bother monitoring the
raft index; issue a QGET directly to get a consensus response.
Fixes #6985
2016-12-28 12:20:56 -08:00
46062efa78
e2e: test cluster-health
2016-12-28 12:20:55 -08:00
e63059ec31
Merge pull request #7030 from crandles/grpc-histograms
...
etcdmain: add '--metrics' option
2016-12-28 12:03:53 -08:00
36b2d3f5eb
etcdmain: add --metrics flag for exposing histogram metrics
...
this adds a new flag, --metrics, that can be used to enable extensive (histogram) metrics.
Fixes #7024
2016-12-28 13:04:52 -05:00
00e00f16bb
ctlv3: consider permission denied error to be healthy for endpoints
...
Relaxes the permission expectations for endpoint health by noting:
* permission denial on linearized reads is always through consensus
* endpoint health means consensus with the cluster through the endpoint
So, there's no need to require permission on a health check key in order
to know whether the endpoint is healthy.
Fixes #7057
2016-12-28 09:13:27 -08:00
b940e0d514
Merge pull request #7042 from petermattis/pmattis/resume-after-heartbeat-resp
...
raft: resume paused followers on receipt of MsgHeartbeatResp
2016-12-27 21:15:53 -08:00
a662ddefbb
benchmark: a new option for configuring dial timeout
...
Current benchmark doesn't have an option for configuring dial timeout
of gRPC. This commit adds --dial-timeout for the purpose. It is useful
for stopping long sticking benchmarks.
2016-12-28 14:07:43 +09:00
407afc69ed
e2e: check etcdctl endpoint health is healthy if denied permission to key
2016-12-27 14:49:52 -08:00
c00084812c
Merge pull request #7054 from gyuho/err
...
etcd-tester: remove unused err var from maxRev
2016-12-27 12:36:48 -08:00
db8b15bf8f
etcd-tester: remove unused err var from maxRev
2016-12-27 12:16:43 -08:00
89b18ff1af
Merge pull request #7015 from fanminshi/fix_lease_expired_too_soon
...
lease: force leader to apply its pending committed index for lease op…
2016-12-27 11:26:15 -08:00
2faf72f47c
etcdserver: rework update committed index logic
2016-12-27 10:11:40 -08:00
17873f7be8
Merge pull request #7008 from heyitsanthony/fix-dns
...
retry on resolution failure for advertised peer DNS check
2016-12-27 10:03:01 -08:00
d9b9821551
Merge pull request #7060 from hhkbp2/fix-pre-vote-tests
...
raft: fix pre-vote tests
2016-12-26 17:42:36 -08:00
920b155f17
raft: fix pre-vote tests
2016-12-26 14:31:59 +08:00
7b7feb46fc
leasehttp: buffer error channel to prevent goroutine leak
2016-12-22 14:25:01 -08:00
fef4a79528
lease: force leader to apply its pending committed index for lease operations
...
suppose a lease granting request from a follower goes through and followed by a lease look up or renewal, the leader might not apply the lease grant request locally. So the leader might not find the lease from the lease look up or renewal request which will result lease not found error. To fix this issue, we force the leader to apply its pending commited index before looking up lease.
FIX #6978
2016-12-22 14:24:38 -08:00
1a8e3cad9a
Merge pull request #7053 from gyuho/typo
...
etcd-tester: fix typo, add endpoint in logs
2016-12-22 13:12:38 -08:00
591bb5e7f6
etcd-tester: fix typo, add endpoint in logs
2016-12-22 12:51:27 -08:00
acbf0fa452
Merge pull request #7041 from m1093782566/raft-safe
...
raft: make memory storage set method thread safe
2016-12-20 09:14:27 -08:00
e625400f1d
raft: resume paused followers on receipt of MsgHeartbeatResp
...
Previously, paused followers were resumed upon sending a MsgHearbeat.
Fixes #7037
2016-12-20 08:22:09 -05:00
8151d4d0bc
raft: make memory storage set method thread safe
2016-12-20 18:48:52 +08:00
d62ce55584
Merge pull request #7027 from gyuho/default-host
...
embed: only override default advertised client URL if the client listen URL is 0.0.0.0
2016-12-16 18:53:11 -08:00
e58287f026
embed: only override default advertised client URL if the client listen URL is 0.0.0.0
2016-12-16 18:31:04 -08:00
af3451be26
Merge pull request #7018 from gyuho/why
...
Documentation: add 'why.md'
2016-12-16 15:54:49 -08:00
bef87cc953
Documentation: add 'why.md'
2016-12-16 15:54:03 -08:00
f95f7a3027
Merge pull request #7028 from gyuho/faq
...
Documentation: add FAQs on membership operation
2016-12-16 15:37:21 -08:00
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
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
531c3061c1
Merge pull request #7023 from heyitsanthony/lease-freeze
...
clientv3: fix lease "freezing" on unhealthy cluster
2016-12-16 11:38:22 -08:00
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
46bd842db9
clientv3/integration: test lease grant/keepalive with/without failures
2016-12-16 10:36:51 -08:00
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
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
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
fa733e1e9c
docs: explicitly set ETCDCTL_API=3 in recovery.md
2016-12-15 20:10:30 -08:00
e71ff361a4
etcdctl: warn when backend takes too long to open on migrate
2016-12-15 18:57:57 -08:00
52e3dc5eb9
Documentation: minor fix nodes -> node
2016-12-15 21:27:52 -05:00
93e303ec71
Merge pull request #7017 from gyuho/faq
...
dev-guide: add limit.md
2016-12-15 15:45:23 -08:00
a1e572b460
dev-guide: add limit.md
2016-12-15 15:44:21 -08:00
5aeee917a7
Merge pull request #7006 from heyitsanthony/clusterid-split
...
Documentation: FAQ entry for cluster ID mismatches
2016-12-15 12:43:17 -08:00
14c851c863
Documentation: FAQ entry for cluster ID mismatches
2016-12-15 11:27:24 -08:00
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
35fd5dc9fc
Merge pull request #6903 from mitake/auth-member
...
protect membership change RPCs with auth
2016-12-15 08:04:31 -08:00
b126e31132
clientv3: better error message for keep alive loop halt
2016-12-15 16:06:27 +02:00
d46b753186
e2e: test cases of protecting membership change with auth
2016-12-15 22:54:20 +09:00
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
5183ce0118
clientv3: add test for keep alive loop exit case
2016-12-15 03:02:44 +02:00