Gyuho Lee
b6be8fb689
Documentation/upgrades: highlight string "health" field
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-01-17 13:58:20 -08:00
Gyuho Lee
79710d32c3
Merge pull request #9160 from kchristidis/fix-raft-readme
...
docs: fix invalid reference in Raft README
2018-01-17 13:50:36 -08:00
Kostas Christidis
97fad42d81
docs: fix invalid reference in Raft README
...
Code snippet in Raft README refers to non-existent field `State`. Fixed
the reference by setting it to `HardState`.
2018-01-17 16:03:32 -05:00
Gyuho Lee
30511860a6
Merge pull request #9142 from gyuho/watch-env
...
ctlv3: support ETCDCTL_WATCH_KEY, ETCDCTL_WATCH_RANGE_END
2018-01-17 12:39:49 -08:00
Gyuho Lee
6a80e94e50
Merge pull request #9143 from liggitt/healthz-schema
...
api/etcdhttp: change /health type back to string for backwards compatibility
2018-01-17 11:27:21 -08:00
Xiang Li
5b7a869b06
Merge pull request #9154 from gyuho/3.4-roadmap
...
ROADMAP: update 3.4 roadmap
2018-01-17 10:21:03 -08:00
Gyuho Lee
b8a95d7a9b
etcdctl: document "ETCD_WATCH_*"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-01-17 09:54:37 -08:00
Gyuho Lee
6ba5682e64
e2e: test ETCD_WATCH_VALUE
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-01-17 09:54:37 -08:00
Gyuho Lee
5e0118d7ef
ctlv3: set ETCD_WATCH_* on watch exec
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-01-17 09:54:16 -08:00
Gyuho Lee
dfe957e928
ROADMAP: update 3.4 roadmap
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-01-16 14:42:37 -08:00
Gyuho Lee
2c347d7158
ctlv3: exit on exec watch error
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-01-16 09:04:46 -08:00
Gyuho Lee
72a2a6671e
ctlv3: set ETCD_WATCH_KEY, ETCD_WATCH_VALUE on exec watch
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-01-16 09:03:10 -08:00
Jordan Liggitt
f77e54eb13
api/etcdhttp: change /health type back to string for backwards compatibility
2018-01-15 01:57:55 -05:00
Gyuho Lee
388b7fece6
ctlv3: handle pkg/flags warnings
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-01-14 11:15:45 -08:00
Gyuho Lee
57284aac28
etcdctl: document watch with ETCDCTL_WATCH_*
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-01-14 11:15:45 -08:00
Gyuho Lee
503781e3a0
e2e: add watch tests with ETCDCTL_WATCH_*
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-01-14 11:15:41 -08:00
Gyuho Lee
8183b83220
ctlv3: support ETCDCTL_WATCH_KEY, ETCDCTL_WATCH_RANGE_END
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-01-14 02:30:03 -08:00
Gyuho Lee
7a8c192c8f
Merge pull request #9140 from gyuho/tls-doc
...
Documentation/op-guide: clarify security.md on TLS auth
2018-01-12 15:22:24 -08:00
Gyuho Lee
eeb4d35b3f
Documentation/op-guide: clarify security.md on TLS auth
...
Make it more accurate (just as pkg/transport/listener_tls.go does).
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-01-12 14:54:39 -08:00
Gyuho Lee
60e8432807
CHANGELOG: add "raft" package changes/fixes
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-01-12 10:31:16 -08:00
Gyuho Lee
6f7eda3b1b
Merge pull request #9136 from mitake/fix-9094
...
etcdctl: don't ask password twice for etcdctl endpoint health --cluster
2018-01-12 09:58:52 -08:00
Gyuho Lee
745b241a9c
Merge pull request #9139 from gyuho/fix-tester
...
etcd-tester: update stresser weights with txn stresser
2018-01-12 09:40:42 -08:00
Gyuho Lee
7783aada6a
etcd-tester: update stresser weights with txn stresser
...
Large key writes (stressEntries[1].weight) should not take this
much weight. It was triggering "database size exceeded" errors.
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-01-12 00:17:13 -08:00
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