Anthony Romano
6464574952
netutil: don't resolve unix socket URLs when comparing URLs
...
Was causing VerifyBootstrap() to hang on unix peers.
2017-08-17 19:58:24 -07:00
Anthony Romano
c1b7e78c60
Merge pull request #8414 from heyitsanthony/fix-multi-peer
...
embed: associate peer serve() listener with corresponding peer
2017-08-17 13:29:49 -07:00
Anthony Romano
15c511ea6a
e2e: test booting etcd with multiple peer listeners
2017-08-17 11:25:40 -07:00
Anthony Romano
f4183c68cc
embed: associate peer serve() listener with corresponding peer
...
Fixes #8383
2017-08-17 10:25:00 -07:00
Gyu-Ho Lee
f33d64a930
Merge pull request #8408 from gyuho/1
...
Documentation: Update to include Huawei (renamed Canal)
2017-08-16 16:30:55 -07:00
Gyu-Ho Lee
abe5c9c63e
Merge pull request #8409 from gyuho/2
...
dev-guide: note v2 keys to v3 API incompatibility
2017-08-16 15:47:47 -07:00
Gyu-Ho Lee
46b42e3cf0
Merge pull request #8394 from chris-wagner/patch-1
...
Fix field names in Container Linux Config for etcd 3.x service
2017-08-16 15:45:19 -07:00
earthgecko
61fd39e5d7
dev-guide: note v2 keys to v3 API incompatibility
...
Update interacting_v3.md
Making it clear to the user that keys created via the v2 API are not readable by the etcdctl with the v3 API. A etcdctl v3 get of a v2 key key exits with 0 and no data, which is quite confusing, hopefully this just makes that it a bit clearer if the user upgraded etcd 3 in the past (and forget some of the 2.3 to 3.0 to 3.1 to 3.2 upgrade details) but never updated the API they used as v2 was the default and happen to trying to figure out wtf, this is a further reminder of that backward incompatibility.
2017-08-16 15:43:58 -07:00
Mackenzie Burnett
0c456df5c3
Documentation: Update to include Huawei (renamed Canal)
2017-08-16 15:42:03 -07:00
chris-wagner
bfb1d9d6a6
Documentation/platforms: fix field names in configuration example
2017-08-16 09:59:51 +02:00
Gyu-Ho Lee
fa32a85e69
Merge pull request #8405 from joshgav/container-listen-ip
...
docs: use 0.0.0.0 to listen on container-local addrs
2017-08-15 14:35:18 -07:00
Josh Gavant
c9c20d93ac
Documentation/op-guide: use 0.0.0.0 to listen on container-local addr
...
Since container is in a separate network namespace it can't bind to
host's IP address. Instead bind to all addresses via 0.0.0.0.
2017-08-15 16:25:01 -05:00
Gyu-Ho Lee
8060b9dd83
Merge pull request #8404 from gyuho/pprof
...
embed: add 'enable-pprof' tag for config file
2017-08-15 11:50:51 -07:00
Gyu-Ho Lee
e24de6c9ac
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:22:10 -07:00
Gyu-Ho Lee
f1509a102c
Merge pull request #8385 from gyuho/shadowed-environment-variables
...
pkg/flags: warns on shadowed environment variable flags
2017-08-14 16:59:50 -07:00
Gyu-Ho Lee
deb0098d33
Merge pull request #8358 from gyuho/lease-list
...
api: lease list
2017-08-14 14:32:03 -07:00
Gyu-Ho Lee
01f1013203
e2e: test 'lease list' command
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-14 14:18:57 -07:00
Gyu-Ho Lee
1f20d5d924
etcdctl/ctlv3: add 'lease list' command
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-14 14:18:57 -07:00
Gyu-Ho Lee
556c1a1fe0
integration,clientv3/integration: test LeaseLeases API
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-14 14:18:57 -07:00
Gyu-Ho Lee
f8141db2c7
proxy/grpcproxy: implement LeaseLeases API
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-14 14:18:56 -07:00
Gyu-Ho Lee
15ef98a4ee
clientv3: implement LeaseLeases API
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-14 14:18:56 -07:00
Gyu-Ho Lee
d25ae50c02
etcdserver: implement LeaseLeases API
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-14 14:18:56 -07:00
Gyu-Ho Lee
8005f00bcf
*: regenerate proto
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-14 14:18:56 -07:00
Gyu-Ho Lee
a7413bbf28
etcdserverpb: define LeaseLeases API
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-14 14:18:56 -07:00
Gyu-Ho Lee
099fbde809
lease: add 'Leases' method
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-14 14:18:53 -07:00
Gyu-Ho Lee
8df21326f9
Merge pull request #8384 from gyuho/advertise-url
...
embed: warns about empty hosts in advertise urls
2017-08-11 10:15:35 -07:00
Gyu-Ho Lee
135b7f78c9
Merge pull request #8392 from gyuho/bbolt
...
vendor: coreos/bbolt v1.3.1-coreos.0, add others in glide.yaml
2017-08-10 17:44:31 -07:00
Gyu-Ho Lee
2513e8c9ce
integration: increase numPuts to write more than 1 page
...
For ppc64.
Reference: https://github.com/coreos/bbolt/issues/15#issuecomment-321700834 .
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-10 16:43:41 -07:00
Gyu-Ho Lee
6489084a51
vendor: coreos/bbolt v1.3.1-coreos.0, add others in glide.yaml
2017-08-10 15:02:58 -07:00
Anthony Romano
6c4d990c1a
Merge pull request #8390 from heyitsanthony/reset-keysgauge-restore
...
mvcc: reset keys gauge on restore
2017-08-10 12:57:50 -07:00
Gyu-Ho Lee
fe344ef302
embed: warns about empty hosts in advertise urls
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-10 12:31:58 -07:00
Anthony Romano
ccd1bb1780
mvcc: test keys gauge is reloaded correctly on restore
2017-08-10 09:21:39 -07:00
Anthony Romano
32866572bf
mvcc: reset keys gauge on restore
...
Fixes #8388
2017-08-10 08:37:50 -07:00
Gyu-Ho Lee
195744aea6
pkg/flags: warns on shadowed environment variable flags
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-09 15:58:48 -07:00
Anthony Romano
04413454ac
Merge pull request #8370 from jiaxuanzhou/lock_cmd
...
etcdctl: add ttl flag for lock command
2017-08-09 10:04:32 -07:00
Zhou
9c21eefd09
etcdctl: add ttl flag for lock command
2017-08-09 22:04:43 +08:00
Anthony Romano
754f454974
Merge pull request #8367 from jpbetz/defrag-file
...
etcdctlv3: Add option to defrag a data directory directly
2017-08-08 12:27:52 -07:00
Anthony Romano
921e0dbd72
Merge pull request #8374 from heyitsanthony/fix-leasing-reconn
...
leasing: retry on errors from acquire txn
2017-08-08 12:07:22 -07:00
Joe Betz
39432ac31f
etcdctlv3: Add option to defrag a data directory directly, for cases where etcd is not running.
2017-08-08 10:19:32 -07:00
Anthony Romano
2c958939bb
Merge pull request #8378 from heyitsanthony/doc-tls-termination
...
op-guide: TLS termination with grpc-proxy
2017-08-08 10:19:00 -07:00
Anthony Romano
7ef41aa285
op-guide: TLS termination with grpc-proxy
...
Also made the etcdctl calls consistent across the file.
2017-08-08 09:33:51 -07:00
Anthony Romano
cf0eb3b7ce
integration: increase timeout for TestLeasingReconnectOwnerRevoke
...
Adding retry to acquire on failure causes Get to now retry until a
connection can be reestablished to the etcd server, causing the
timeout to trigger and fail the test.
2017-08-07 15:51:27 -07:00
Anthony Romano
61ebb98e55
leasing: retry on errors from acquire txn
...
Gets should retry on transient failure, but the txn inserts a write, skipping
the retry logic in the client. Instead, check the error if the txn should be
retried.
Fixes #8372
2017-08-07 11:39:12 -07:00
Gyu-Ho Lee
a9b9ef5640
Merge pull request #8351 from gyuho/hash
...
*: add 'endpoint hashkv' command
2017-08-07 09:21:50 -07:00
Gyu-Ho Lee
c9cd3afa58
Merge pull request #8369 from gyuho/container
...
Documentation/op-guide: add gcr.io image as alternative
2017-08-07 09:13:22 -07:00
Gyu-Ho Lee
e4e61479f2
op-guide/v2-migration: endpoint hashkv post migration
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-06 13:50:22 -07:00
Gyu-Ho Lee
43ccc549fb
e2e: test 'endpoint hashkv' command
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-05 18:17:06 -07:00
Gyu-Ho Lee
5176b63fa0
ctlv3: add 'endpoint hashkv' command
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-05 18:17:06 -07:00
Gyu-Ho Lee
9982cd0528
clientv3/integration: add 'TestMaintenanceHashKV'
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-05 18:17:06 -07:00
Gyu-Ho Lee
8c32cd96fb
clientv3: add 'HashKV' to 'Maintenance' interface
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-05 18:17:06 -07:00