Gyu-Ho Lee
25222c22d9
e2e: test watch exec in v3 etcdctl
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-12-19 19:45:27 -08:00
Gyu-Ho Lee
e89fc20542
etcdctl: document watch exec in v3
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-12-19 19:45:27 -08:00
Gyu-Ho Lee
904513fa5c
etcdctl/ctlv3: support "exec-watch" in watch command
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-12-19 19:45:24 -08:00
Gyuho Lee
828289db32
Merge pull request #9046 from gyuho/request-limit
...
integration: test large request response back from server
2017-12-19 16:41:27 -08:00
Gyuho Lee
abfc09b1ca
integration: test large request response back from server
...
Address https://github.com/coreos/etcd/issues/9043 .
Won't fix it, but we need test coverage on response back
from server as well.
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-19 14:45:20 -08:00
Gyuho Lee
74a600afae
Merge pull request #9045 from gyuho/test-limit
...
test: bump up clientv3/integration test time out
2017-12-19 14:44:04 -08:00
Gyuho Lee
ba702ae601
test: bump up clientv3/integration test time out
...
Recently we've added many more tests.
Until we parallelize tests, just increase the timeout.
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-19 14:17:55 -08:00
Gyuho Lee
b0a7623be8
Merge pull request #9023 from gyuho/keepalive-doc
...
clientv3: document context to "KeepAlive" API
2017-12-19 11:53:56 -08:00
Gyuho Lee
ecbd1aec06
Merge pull request #9038 from gyuho/snapshot-error
...
clientv3: translate Snapshot API gRPC status error
2017-12-19 11:14:25 -08:00
Gyuho Lee
c8a516d515
Documentation/upgrades: document Snapshot API error handling
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-19 10:46:22 -08:00
Gyuho Lee
7cd985bdac
clientv3: translate Snapshot API gRPC status error
...
To be consistent with other APIs.
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-19 10:46:19 -08:00
Gyuho Lee
6f899186f8
Merge pull request #9042 from gyuho/grpc-go
...
vendor: pin "grpc/grpc-go" v1.7.5
2017-12-19 09:40:54 -08:00
Gyuho Lee
e833b7c2d8
clientv3: document context to "Snapshot" API
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-18 17:03:18 -08:00
Gyuho Lee
b456452240
words: whitelist "statusError"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-18 17:03:18 -08:00
Gyuho Lee
d57002ba9c
vendor: pin "grpc/grpc-go" v1.7.5
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-18 15:56:23 -08:00
Gyuho Lee
931dfd7da8
etcd-dump-logs: take data-dir as argument, add TODO
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-18 14:20:56 -08:00
Gyuho Lee
af4d4ab16a
tools/etcd-dump-db: add "iterate-bucket --decode" flag
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-18 14:20:52 -08:00
Gyuho Lee
a7445d752b
Merge pull request #9039 from gyuho/mvcc-doc
...
mvcc: clean-up godoc in key_index.go
2017-12-18 13:56:51 -08:00
Gyuho Lee
eb58e7607b
Merge pull request #9040 from gyuho/etcd-tester-main
...
etcd-tester: discard gRPC balancer logs
2017-12-18 13:56:39 -08:00
Gyuho Lee
e21eac808e
etcd-tester: discard gRPC balancer logs
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-18 13:39:55 -08:00
Gyuho Lee
76dd9d56a1
mvcc: clean-up godoc in key_index.go
...
Minor clean-up.
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-18 13:20:00 -08:00
Gyuho Lee
95ecf9602a
Merge pull request #9031 from gyuho/fix-mvcc
...
mvcc: fetch revisions with current revision, not 0, in HashByRev
2017-12-18 12:26:30 -08:00
Gyuho Lee
2e95ace82b
mvcc: fetch revisions with current revision, not 0, in HashByRev
...
It was getting revisions with "atRev==0", which makes
"available" from "keep" method always empty since
"walk" on "keyIndex" only returns true.
"available" should be populated with all revisions to be
kept if the compaction happens with the given revision.
But, "available" was being empty when "kvindex.Keep(0)"
since it's always the case that "rev.main > atRev==0".
Fix https://github.com/coreos/etcd/issues/9022 .
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-18 12:17:06 -08:00
Gyuho Lee
fffb26596c
words: whitelist "KeepAlive"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-18 10:34:43 -08:00
Gyuho Lee
3e58dd707f
clientv3: document lease KeepAlive streaming errors
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-18 10:19:41 -08:00
Anthony Romano
da3e3b7240
clientv3: document from "don't halt lease client if there is a lease error"
...
From https://github.com/coreos/etcd/pull/7866 .
2017-12-18 09:55:00 -08:00
Gyuho Lee
9c326ab78c
Merge pull request #9034 from hexfusion/fx_ttl_doc
...
clientv3/lease.go: TTL, document expired Lease.
2017-12-18 09:19:55 -08:00
Gyuho Lee
9b98cbb819
Merge pull request #9017 from hexfusion/test_lease_auth
...
e2e: improve Lease coverage
2017-12-18 09:19:29 -08:00
Sam Batschelet
ed3672850c
e2e: improve lease coverage
2017-12-18 10:47:42 -05:00
Gyuho Lee
33a1d307df
Merge pull request #9032 from hexfusion/perl_intergration
...
Documentation/integrations: minor style fix.
2017-12-18 07:20:41 -08:00
Sam Batschelet
a5d9bff24c
clientv3/lease.go: TTL, document expired Lease.
2017-12-18 08:34:19 -05:00
Sam Batschelet
ac58646298
Documentation/integrations: minor style fix.
2017-12-18 07:57:28 -05:00
Gyuho Lee
940dace5d1
Merge pull request #9025 from gyuho/meeting
...
README: add "Community meetings"
2017-12-15 14:59:55 -08:00
Gyuho Lee
207827a94e
README: add "Community meetings"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-15 14:37:37 -08:00
Gyuho Lee
91415f8aaa
Merge pull request #8961 from gyuho/test-scripts-4
...
hack/scripts-dev: add "docker-dns-example-certs-common-name-run"
2017-12-15 13:43:43 -08:00
Gyuho Lee
5783460dbb
hack/scripts-dev: rename to example
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-15 13:37:55 -08:00
Gyuho Lee
7533f700f1
hack/scripts-dev: add "docker-dns-test-certs-common-name-run"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-15 13:33:41 -08:00
Gyuho Lee
da52b23542
hack/scripts-dev/docker-dns: add "certs-common-name" test case
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-15 13:33:41 -08:00
Gyuho Lee
9deaee3ea1
Merge pull request #9020 from mkumatag/fix_govet
...
Clientv3: Fix govet error for gotip
2017-12-15 09:21:19 -08:00
Gyuho Lee
b0f0ba7f81
Merge pull request #9018 from gyuho/auth-ctx
...
*: fix server-side lease expire when auth is enabled
2017-12-15 08:57:26 -08:00
Manjunath A Kumatagi
18746c65da
Clientv3: Fix govet error for gotip
2017-12-15 14:31:27 +05:30
Gyuho Lee
9fb7bbdb2d
integration: add "TestV3AuthWithLeaseRevokeWithRoot"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-14 21:45:50 -08:00
Gyuho Lee
85af65eca9
etcdserver: log lease revoke error
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-14 21:45:20 -08:00
Gyuho Lee
1f191a0e34
auth: use NewIncomingContext for "WithRoot"
...
"WithRoot" is only used within local node, and
"AuthInfoFromCtx" expects token from incoming context.
Embed token with "NewIncomingContext" so that token
can be found in "AuthInfoFromCtx".
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-14 21:45:16 -08:00
Gyuho Lee
014c375099
Merge pull request #9012 from gyuho/gyuho/help-flag
...
etcdmain: display default --enable-v2, --strict-reconfig-check value ("true")
2017-12-14 11:40:52 -08:00
Gyuho Lee
608961b2b8
Merge pull request #8921 from gyuho/fileutil-darwin
...
pkg/fileutil: fix preallocate under OS X kernel
2017-12-14 11:38:17 -08:00
Gyuho Lee
0133d77f0a
etcdmain: display default --enable-v2, --strict-reconfig-check value ("true")
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-14 11:25:20 -08:00
Gyuho Lee
954ced48d2
Merge pull request #8923 from gyuho/client-logger
...
clientv3: simplify balancer level logging
2017-12-14 10:39:02 -08:00
Gyu-Ho Lee
962976f2df
pkg/fileutil: fix preallocate under OS X kernel
...
ftruncate changes st_blocks, and following fallocate
syscalls would return EINVAL when allocated block size
is already greater than requested block size
(e.g. st_blocks==8, requested blocks are 2).
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-12-14 10:36:57 -08:00
Xiang Li
b48cf77abb
Merge pull request #9004 from spzala/readme
...
Update Running etcd section for pre-built install of etcd
2017-12-13 09:11:41 -08:00