Hitoshi Mitake
b337674971
etcdctl: don't ask password twice for etcdctl endpoint health --cluster
...
Current etcdctl endpoint health --cluster asks password twice if auth
is enabled. This is because the command creates two client instances:
one for the purpose of checking endpoint health and another for
getting cluster members with MemberList(). The latter client doesn't
need to be authenticated because MemberList() is a public RPC. This
commit makes the client with no authed one.
Fix https://github.com/coreos/etcd/issues/9094
2018-01-12 15:39:42 +09:00
Xiang Li
c5532ebbf6
Merge pull request #9067 from absolute8511/optimize-raft-drop
...
raft: let raft step return error when proposal is dropped to allow fail-fast
2018-01-11 19:54:52 -08:00
Vincent Lee
30ced5b2be
raft: let raft step return error when proposal is dropped to allow fail-fast.
2018-01-12 10:16:47 +08:00
Sahdev Zala
e16abdfade
Merge pull request #9115 from gyuho/doc-watch
...
clientv3: document possible memory pile-up in Watch
2018-01-11 18:12:13 -05:00
Gyuho Lee
a86e1ff494
CHANGELOG: add v3.2.14, v3.3.0-rc.2
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-01-11 11:39:18 -08:00
Gyuho Lee
63e4a30cee
Merge pull request #9133 from gyuho/tester-fix
...
etcd-tester: fix "writeTxn" key selection
2018-01-11 11:16:42 -08:00
Xiang Li
285c7e6fc9
Merge pull request #9116 from absolute8511/fix-raft-learner
...
raft: raft learners should be returned after applyConfChange
2018-01-11 06:08:29 -08:00
Gyuho Lee
6cf220c92a
etcd-tester: fix "writeTxn" key selection
...
Found when debugging https://github.com/coreos/etcd/issues/9130 .
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-01-11 03:06:51 -08:00
Vincent Lee
11fa4f0275
raft: raft learners should be returned after applyConfChange
2018-01-11 17:30:17 +08:00
Gyuho Lee
52f73c5a6c
Merge pull request #8510 from gyuho/txn-stresser
...
etcd-tester: add txn stresser
2018-01-09 14:17:43 -08:00
Gyu-Ho Lee
38105095cd
test: limit stress-qps for slow CI machines, add txn flags
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2018-01-09 13:43:36 -08:00
Gyu-Ho Lee
e41c10347a
etcd-tester: add txn stresser
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2018-01-09 13:43:34 -08:00
Xiang Li
bcc5ea6a27
Merge pull request #9120 from spzala/statusfromerror
...
StatusFromError: handle return value of the function
2018-01-09 13:00:23 -08:00
Gyuho Lee
423125a897
Merge pull request #9125 from gyuho/gateway
...
*: pin latest grpc-gateway release v1.3.1
2018-01-09 12:49:00 -08:00
Gyuho Lee
fd16656af1
scripts/genproto: use "grpc-gateway" v1.3.1
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-01-09 12:41:49 -08:00
Gyuho Lee
d1526c992a
vendor: upgrade "grpc-ecosystem/grpc-gateway" to v1.3.1
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-01-09 12:40:21 -08:00
Gyuho Lee
7673f7e4c5
CHANGELOG: fix v3.4.0 link, punctuations
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-01-09 12:16:41 -08:00
Gyuho Lee
8cb8d2c017
CHANGELOG: update v3.3.0, add v3.4.0
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-01-09 12:10:15 -08:00
Gyuho Lee
1e488f3548
Merge pull request #9124 from gyuho/snapshot-restore
...
ctlv3: add "snapshot restore --wal-dir"
2018-01-09 11:11:59 -08:00
Gyuho Lee
285a83d70a
ctlv3: add "snapshot restore --wal-dir"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-01-09 09:25:26 -08:00
Sahdev P. Zala
3b7e2ce0ca
StatusFromError: handle return value of the function
...
status.FromError can return nil, false. We are handling the return values
most places in code but some places we aren't. Fixing it herewith.
Fixes #9117
2018-01-08 22:28:20 -05:00
Gyuho Lee
9bd9d2041f
Merge pull request #9122 from gyuho/temp
...
raft: fix wrong comments in "mustCheckOutOfBounds"
2018-01-08 18:34:29 -08:00
GhostComputing
b3916a393f
raft: fix wrong comments in "mustCheckOutOfBounds"
2018-01-08 18:31:22 -08:00
Xiang Li
ed1ff9e952
Merge pull request #9073 from bdarnell/pending-conf-index
...
raft: Avoid scanning raft log in becomeLeader
2018-01-08 16:37:36 -08:00
Gyuho Lee
a1d3456641
Merge pull request #9119 from yudai/panic_defrag_fail
...
mvcc: check null before set FillPercent not to panic
2018-01-08 12:48:48 -08:00
Iwasaki Yudai
0b1b82aff2
mvcc: check null before set FillPercent not to panic
...
Since CreateBucketIfNotExists() can return nil when it gets an error,
accessing FillPercent must be done after a nil check, not to cause
a panic.
2018-01-08 11:34:34 -08:00
Gyuho Lee
31c2d4b0a2
clientv3: document possible memory pile-up in Watch
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-01-08 10:37:47 -08:00
Xiang Li
44e1f6f019
Merge pull request #9105 from spzala/getrevision
...
etcdserver/api/v3rpc: debug user cancellation and log warning for rest
2018-01-08 10:07:57 -08:00
Sahdev P. Zala
a66d7c3ba5
etcdserver/api/v3rpc: debug user cancellation and log warning for rest
...
The context error with cancel code is typically for user cancellation which
should be at debug level. For other error codes we should display a warning.
Fixes #9085
2018-01-08 11:03:13 -05:00
Xiang Li
6f76e46c0c
Merge pull request #9108 from Quentin-M/embed_ext_metrics
...
embed: enable extensive metrics if specified
2018-01-07 08:44:02 -08:00
Quentin MACHU
a535c01050
embed: enable extensive metrics if specified
2018-01-06 20:40:30 +01:00
Gyuho Lee
65464838ba
Merge pull request #9065 from gyuho/watch-id-2
...
*: allow user-provided watch ID to mvcc
2018-01-05 15:08:10 -08:00
Gyuho Lee
2fb9728473
Merge pull request #9100 from gyuho/flag
...
etcdmain: unset ETCD_UNSUPPORTED_ARCH after arch check
2018-01-04 17:03:35 -07:00
Gyuho Lee
936c4745c1
etcdmain: unset ETCD_UNSUPPORTED_ARCH after arch check
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-01-04 22:47:59 +00:00
Gyuho Lee
872fd9d42a
Merge pull request #9101 from ericchiang/coc
...
automated PR: update CoC
2018-01-04 15:44:40 -07:00
Eric Chiang
2395f8e81c
CODE_OF_CONDUCT: update CoC
2018-01-04 22:44:07 +00:00
Gyuho Lee
a7d387cc42
Merge pull request #9093 from spzala/getrevision
...
DocCommand: use regex wildcard
2018-01-03 23:52:56 -08:00
Sahdev P. Zala
526f3c1f5f
DocCommand: use regex wildcard
...
The current command as such produces no output on mac term or bash shell.
Using regex wildcard works fine on mac and linux.
2018-01-03 21:46:38 -05:00
Gyuho Lee
6915a718b9
Merge pull request #9090 from gyuho/fix
...
clientv3/integration: fix typos
2018-01-03 17:31:32 -08:00
Gyuho Lee
7b4fc2601c
clientv3/integration: fix typos
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-01-03 17:26:43 -08:00
Gyuho Lee
a069799810
Merge pull request #9005 from hexfusion/fx_test_const
...
integration: add constant requestWaitTimeout.
2018-01-03 14:48:00 -08:00
Sam Batschelet
d21fef2d41
integration: add constant RequestWaitTimeout.
2018-01-03 15:53:57 -05:00
Xiang Li
17ce61bd0d
Merge pull request #9088 from nvanbenschoten/nvanbenschoten/leaner
...
raft: s/leaner/learner/g
2018-01-03 08:41:53 -08:00
Nathan VanBenschoten
e6dc57f708
raft: s/leaner/learner/g
2018-01-03 08:16:50 -05:00
Xiang Li
664f9bd5ba
Merge pull request #9082 from spzala/checkperf
...
Doc: Create doc for etcdctl check perf command
2018-01-02 21:32:56 -08:00
Sahdev P. Zala
d11c687803
Doc: create doc for check perf command
...
Create a doc for check commands with perf subcommand.
Fixes #9072
2018-01-02 20:22:55 -05:00
Gyuho Lee
c699470d3b
Merge pull request #9074 from gyuho/expect
...
pkg/expect: fix deadlock in macOS
2018-01-02 14:00:12 -08:00
Gyuho Lee
bdf6e85604
Merge pull request #9084 from gyuho/changelog
...
CHANGELOG: add v3.2.13, v3.3.0-rc.1
2018-01-02 13:38:56 -08:00
Gyuho Lee
b78c51ae9f
CHANGELOG: add v3.2.13, v3.3.0-rc.1
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-01-02 13:21:28 -08:00
Gyuho Lee
14ec0673e1
Merge pull request #9083 from gyuho/proxy-grpc-msg-size
...
clientv3/integration: fix TestKVLargeRequests with -tags cluster_proxy
2018-01-02 11:08:16 -08:00