Anthony Romano
2188513161
concurrency: retry snapshot serializable stm if writes since first header rev
...
Was checking the rset key mod rev, which does not work.
2017-08-22 20:53:47 -07:00
Anthony Romano
5c7cff66b6
integration: test serializable snapshot STM with old readset revisions
...
Was hanging.
2017-08-22 20:53:41 -07:00
Gyu-Ho Lee
8c99ab80bd
version: bump up to 3.2.6+git
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-21 13:07:06 -07:00
Gyu-Ho Lee
9d43462d17
version: bump up to 3.2.6
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
v3.2.6
2017-08-21 10:40:55 -07:00
fengshaobao 00231050
78d68226e6
mvcc: sending events after restore
...
Fixes : #8411
2017-08-21 10:39:46 -07:00
Gyu-Ho Lee
e9d576c3d6
Documentation: fix broken link on FAQ
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-18 08:43:14 -07:00
Anthony Romano
1c578cd442
e2e: test booting etcd with multiple peer listeners
2017-08-18 08:43:06 -07:00
Anthony Romano
b97714b3e6
embed: associate peer serve() listener with corresponding peer
...
Fixes #8383
2017-08-17 14:16:56 -07:00
Gyu-Ho Lee
ce0a61ff67
dl_build: fix minor typo
2017-08-17 11:44:02 -07:00
Beth Wright
74783a38ae
docs: revising to match sidebar structure.
2017-08-16 17:03:28 -07:00
Beth Wright
d372ff96a0
docs: link fix.
2017-08-16 17:03:12 -07:00
Beth Wright
8c7b9db9cc
docs: slight rearranging of top two sections.
2017-08-16 17:02:05 -07:00
Beth Wright
f1fb342305
docs: adding an index for upgrade pages.
2017-08-16 17:01:49 -07:00
Gyu-Ho Lee
fa0f278783
embed: add 'enable-pprof' tag for config file
...
Fix https://github.com/coreos/etcd/issues/8402 .
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-15 11:52:48 -07:00
Anthony Romano
e197c14847
mvcc: test keys gauge is reloaded correctly on restore
2017-08-10 12:59:24 -07:00
Anthony Romano
e7bf5477de
mvcc: reset keys gauge on restore
...
Fixes #8388
2017-08-10 12:59:19 -07:00
Gyu-Ho Lee
f81b72fd93
version: bump up to v3.2.5+git
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-04 11:30:57 -07:00
Gyu-Ho Lee
d0d1a87aa9
version: bump up to v3.2.5
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
v3.2.5
2017-08-04 08:40:50 -07:00
Gyu-Ho Lee
7c6a9a7317
contrib/raftexample: use bytes.Buffer.String (no 'string()')
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-04 08:40:29 -07:00
Anthony Romano
be8f102efb
grpcproxy: forward PrevKv flag in Put
2017-08-04 07:32:17 -07:00
Anthony Romano
3003901447
integration: test Put with PrevKey=true
...
Was missing in proxy.
2017-08-04 07:32:11 -07:00
Gyu-Ho Lee
157cfac31b
ctlv3/command: remove double-quote typos in fields printer
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-01 17:25:53 -07:00
Dima Kurguzov
40a1704e6f
ctlv3: exit non-zero on unhealty ep command
2017-07-31 16:00:23 -07:00
Anthony Romano
30981ecb0a
e2e/docker: docker image for testing wildcard DNS
2017-07-24 09:54:55 -07:00
Anthony Romano
f65a11ced5
fixtures: generate wildcard DNS SAN cert
...
DNS: *.etcd.local
2017-07-24 09:54:55 -07:00
Anthony Romano
db4838d4eb
transport: use reverse lookup to match wildcard DNS SAN
...
Fixes #8268
2017-07-24 09:54:55 -07:00
Anthony Romano
8ab42fb045
*: move v2http handlers without /v2 prefix to etcdhttp
...
Lets --enable-v2=false configurations provide /metrics, /health, etc.
Fixes #8167
2017-07-24 09:54:48 -07:00
Gyu-Ho Lee
ff9a0a3527
version: bump up to 3.2.4+git
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-07-24 09:14:34 -07:00
Gyu-Ho Lee
c31bec0f29
version: bump up to 3.2.4
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
v3.2.4
2017-07-19 08:37:30 -07:00
Anthony Romano
19fe4b0cac
grpcproxy: return nil on receiving snapshot EOF
...
Gets "code = OutOfRange desc = EOF" errors otherwise.
2017-07-19 08:33:44 -07:00
Gyu-Ho Lee
a5d94fe229
integration: test embed.Etcd.Close with watch
...
Ensure 'Close' returns in time when there are open
connections (watch streams).
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-07-14 18:52:20 -07:00
Gyu-Ho Lee
e8f3cbf1c6
embed: wait up to request timeout for pending RPCs when closing
...
Both grpc.Server.Stop and grpc.Server.GracefulStop close the listeners
first, to stop accepting the new connections. GracefulStop blocks until
all clients close their open transports(connections). Unary RPCs
only take a few seconds to finish. Stream RPCs, like watch, might never
close the connections from client side, thus making gRPC server wait
forever.
This patch still calls GracefulStop, but waits up to 10s before manually
closing the open transports.
Address https://github.com/coreos/etcd/issues/8224 .
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-07-14 18:52:20 -07:00
Gyu-Ho Lee
856502f788
version: bump up to 3.2.3+git
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-07-14 16:04:54 -07:00
Gyu-Ho Lee
ae23b0ef2f
version: bump up to 3.2.3
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
v3.2.3
2017-07-13 12:09:48 -07:00
Anthony Romano
5ee89be616
testutil: whitelist WaitGroup.Done
...
Calling a WaitGroup.Done() in a defer will sometimes trigger the leak
detector since the WaitGroup.Wait() will unblock before the defer
block completes. If the leak detector runs before the Done() is
rescheduled, it will spuriously report the finishing Done() as a leak.
This happens enough in CI to be irritating; whitelist it and ignore.
2017-07-13 11:14:12 -07:00
Gyu-Ho Lee
38373b342d
test: sync with etcd-agent start in functional_pass
...
Fix https://github.com/coreos/etcd/issues/8211 .
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-07-13 11:14:03 -07:00
Iwasaki Yudai
536a5f594b
v3rpc: Let clients establish unlimited streams
...
From go-grpc v1.2.0, the number of max streams per client is set to 100
by default by the server side. This change makes it impossible
for third party proxies and custom clients to establish many streams.
2017-07-12 10:46:33 -07:00
Anthony Romano
49e6916e66
dev-guide: document using range_end for prefixes with json
...
Lack of a range_end example has caused some confusion.
2017-07-12 10:40:37 -07:00
Asko Kauppi
b9b6f6f7c4
Documentation: refer to LeaseKeepAliveRequest for lease refresh
2017-07-12 10:40:26 -07:00
Gyu-Ho Lee
6ecbb3bbc5
version: bump up to 3.2.2+git
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-07-12 10:36:16 -07:00
Gyu-Ho Lee
cb2a496c4d
version: bump up to 3.2.2
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
v3.2.2
2017-07-07 09:01:47 -07:00
Anthony Romano
fdf525a3fd
dev-guide: update experimental APIs
...
No experimental APIs at the moment.
Fixes #8212
2017-07-07 09:01:30 -07:00
Anthony Romano
40468ab11f
transport: accept connection if matched IP SAN but no DNS match
...
The IP SAN check would always do a DNS SAN check if DNS is given
and the connection's IP is verified. Instead, don't check DNS
entries if there's a matching iP.
Fixes #8206
2017-07-07 09:01:11 -07:00
Anthony Romano
f8f79666d4
embed: connect json gateway with user-provided listen address
...
net.Listener says its address is [::] when given 0.0.0.0, breaking
hosts that have ipv6 disabled.
Fixes #8151
Fixes #7961
2017-07-07 09:00:40 -07:00
Anthony Romano
fefcf348f1
embed: share grpc connection for grpc json services
2017-07-07 09:00:32 -07:00
Anthony Romano
81d39a75ff
fixtures: add gencerts.sh, generate CRL
2017-07-07 09:00:01 -07:00
Gyu-Ho Lee
8f2b48465f
lease: stop lessors after tests
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-30 11:18:55 -07:00
Hui Kang
026c1734b2
Documentation/faq: fix typo in flag names
...
Signed-off-by: Hui Kang <kangh@us.ibm.com>
2017-06-30 01:28:44 -07:00
Gyu-Ho Lee
81e1d03d02
Documentation/v2: 'etcd v2' to the title
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-30 01:28:20 -07:00
Anthony Romano
6171334595
benchmark: refactor watch benchmark
2017-06-27 07:35:01 -07:00