Gyu-Ho Lee
010cc287bb
Merge pull request #7401 from gyuho/docker-guide
...
op-guide: add notes on mounting certs directory
2017-03-01 16:50:24 -08:00
Gyu-Ho Lee
d111c8fe3b
op-guide: add notes on mounting certs directory
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-03-01 16:45:03 -08:00
fanmin shi
d3aebbf0ce
Merge pull request #7387 from fanminshi/rework_coverage_ctl
...
e2e: rework coverage ctl
2017-03-01 10:01:13 -08:00
fanmin shi
edd298f85a
test: build test binary for etcdctl
2017-02-28 17:08:24 -08:00
fanmin shi
1f413cff64
e2e: add etcdctl to e2e test
2017-02-28 17:08:17 -08:00
fanmin shi
aca4ea2a29
etcdctl: modify etcdctl v2 and v3 for code coverage
2017-02-28 14:50:27 -08:00
fanmin shi
17ae440991
Merge pull request #7379 from fanminshi/fix_TestRestartMember
...
integration: integration: ensure leader is up in waitLeader() and clusterMustProgress()
2017-02-28 10:57:49 -08:00
fanmin shi
324d2383b8
integration: ensure leader is up in waitLeader() and clusterMustProgress()
...
The issue is caused by leader loss even after waitLeader() returns
which can happen if the test machine is flaky which triggers a leader loss
or the killed node is the leader since waitLeader() only scans followers in
TestRestartMember() and they can have the same older leader.
In those cases, clusterMustProgress() proceeds with no leader which triggers
the no leader error.
To get around that, use linearizable get in waitLeader() to ensure leader is up
and retries on kapi.create() in clusterMustProgress() to ensure it proceeds with
a leader.
FIX #7258
2017-02-28 09:17:03 -08:00
Anthony Romano
1a9cd7bf36
Merge pull request #7294 from mkumatag/ppc64le_docker
...
Build docker image for ppc64le
2017-02-28 09:04:03 -08:00
Anthony Romano
8f744fe46b
Merge pull request #7384 from heyitsanthony/debug-grpc-tracing
...
etcdmain: enable grpc tracing with --debug
2017-02-27 16:05:04 -08:00
Manjunath A Kumatagi
633cfbe241
script: Build docker image for ppc64le
2017-02-27 19:04:32 -05:00
Anthony Romano
bbd8f4e6f6
Merge pull request #7386 from heyitsanthony/doc-lease-coalesce
...
Documentation: add documentation for grpc lease stream coalescing
2017-02-27 15:30:45 -08:00
Anthony Romano
22f0386683
Documentation: add documentation for grpc lease stream coalescing
2017-02-27 14:45:01 -08:00
Anthony Romano
c4f1e64de7
embed: enable debug endpoint if Debug is set and add net.trace events
...
/debug/ was only being enabled for Pprof.
2017-02-27 11:34:58 -08:00
Anthony Romano
298d58841e
etcdmain: enable grpc tracing with --debug
2017-02-27 11:18:13 -08:00
Anthony Romano
01557ebc8f
Merge pull request #7376 from heyitsanthony/fix-example-metrics-port
...
clientv3: use any port for metrics example
2017-02-24 16:24:52 -08:00
Anthony Romano
c231950cdb
clientv3: use any port for metrics example
...
Was getting bind conflicts causing failures on semaphore.
2017-02-24 14:33:08 -08:00
Anthony Romano
15d8ca7726
Merge pull request #7375 from heyitsanthony/fix-e2e-cov
...
e2e: fix -tags cov builds
2017-02-24 13:01:11 -08:00
Anthony Romano
2ec8572a8c
e2e: fix -tags cov builds
...
Wasn't compiling.
2017-02-24 09:47:31 -08:00
Gyu-Ho Lee
833aa518d8
Merge pull request #7372 from gyuho/updates
...
*: miscellaneous updates on release 3.2 cycle
2017-02-23 17:42:35 -08:00
Gyu-Ho Lee
9fbdd0a84a
Merge pull request #7373 from gyuho/news
...
NEWS: add v3.1.2 release notes
2017-02-23 17:19:31 -08:00
Gyu-Ho Lee
3eaf2f6558
*: remove trailing space, upgrade test on v3.1
2017-02-23 16:19:24 -08:00
Gyu-Ho Lee
119d0520c6
NEWS: add v3.1.2 release notes
2017-02-23 15:02:36 -08:00
Gyu-Ho Lee
3f756d502b
travis: use Go 1.8 in master branch
2017-02-23 14:38:47 -08:00
Gyu-Ho Lee
9d74eb5c60
MAINTAINERS: add Fanmin
2017-02-23 14:38:14 -08:00
Gyu-Ho Lee
86c9bf5c3f
Merge pull request #7371 from gyuho/grpc-proxy-register
...
grpcproxy: add 'register' address
2017-02-22 17:30:38 -08:00
Gyu-Ho Lee
72a531e8b2
grpcproxy: add 'register' address
...
For https://github.com/coreos/etcd/issues/6902 .
2017-02-22 16:47:48 -08:00
Anthony Romano
5df56fa615
Merge pull request #7366 from heyitsanthony/fix-watch-stream-counting
...
integration: permit background watch streams in TestWatchCancelOnServer
2017-02-22 10:36:36 -08:00
Anthony Romano
df3bb333ca
Merge pull request #7368 from heyitsanthony/fix-netutil-ipv4
...
netutil: use ipv4 host by default
2017-02-22 09:57:56 -08:00
Anthony Romano
c3a678be75
integration: permit background watch streams in TestWatchCancelOnServer
...
Fixes #7272
2017-02-22 09:54:08 -08:00
Gyu-Ho Lee
c0c4c7cb76
Merge pull request #7364 from gyuho/auth-revi
...
auth: keep old revision in 'NewAuthStore'
2017-02-22 09:40:01 -08:00
Anthony Romano
f97a077257
netutil: use ipv4 host by default
...
Was non-deterministic.
2017-02-21 20:11:35 -08:00
Gyu-Ho Lee
f2e9936de5
integration: add 'TestV3HashRestart'
2017-02-21 16:20:56 -08:00
Gyu-Ho Lee
6431382a75
auth: keep old revision in 'NewAuthStore'
...
When there's no changes yet (right after auth
store initialization), we should commit old revision.
Fix https://github.com/coreos/etcd/issues/7359 .
2017-02-21 16:18:47 -08:00
Xiang Li
c90c757a56
Merge pull request #7355 from hhkbp2/fix-test-case-typo
...
raft: revise test case and fix typo
2017-02-21 16:15:22 -08:00
Anthony Romano
dd16463ad4
Merge pull request #7363 from heyitsanthony/fix-short-lease-ttl
...
clientv3: do not set next keepalive time <= now+TTL
2017-02-21 15:36:37 -08:00
Anthony Romano
25403970f5
Merge pull request #7361 from heyitsanthony/fix-gateway-goroutine
...
tcpproxy: don't use range variable in reactivate goroutine
2017-02-21 13:26:53 -08:00
Anthony Romano
12d3e4e473
integration: test keepalives for short TTLs
2017-02-21 13:15:45 -08:00
Anthony Romano
3c306cdb3e
clientv3: do not set next keepalive time <= now+TTL
2017-02-21 13:15:45 -08:00
Anthony Romano
8b097f279d
tcpproxy: don't use range variable in reactivate goroutine
...
Ends up trying to reactivate only the last endpoint.
2017-02-21 12:39:49 -08:00
Anthony Romano
0c0fbbd7c5
Merge pull request #7342 from heyitsanthony/client-version
...
clientv3: version checking
2017-02-21 11:46:48 -08:00
Anthony Romano
3c20bdd004
Merge pull request #7345 from heyitsanthony/fix-stream-err
...
grpcproxy: only return ctx error in chan stream if recvc is empty
2017-02-21 11:08:49 -08:00
Gyu-Ho Lee
86cb9f2490
Merge pull request #7358 from gyuho/manual
...
clientv3: fix typo in README
2017-02-21 11:03:49 -08:00
Anthony Romano
29a6fd65ad
grpcproxy: only return ctx error in chan stream if recvc is empty
...
Since select{} won't prioritize, ctx.Done() can sometimes override
a pending message on recvc. Loop if recvc has messages instead.
Fixes #7340
2017-02-21 10:53:58 -08:00
yiyiyaya
56b4e6b71f
clientv3: fix typo in README
...
Fix https://github.com/coreos/etcd/issues/7337
2017-02-21 10:33:17 -08:00
Gyu-Ho Lee
2ac44eab81
Merge pull request #7341 from gyuho/host
...
op-guide: use host volume in Docker command
2017-02-21 10:31:50 -08:00
Gyu-Ho Lee
6f193ea1df
op-guide: use host volume in Docker command
2017-02-21 10:28:29 -08:00
Xiang Li
4e114d3549
Merge pull request #7351 from davecheney/fixedbugs/7350
...
pkg/transport: remove dependency on pkg/fileutils
2017-02-21 09:21:53 -08:00
Dylan.Wen
bc6bebe7b0
raft: revise test case and fix typo
2017-02-21 15:23:42 +08:00
David Cheney
9b84127739
pkg/transport: remove dependency on pkg/fileutils
...
4a0f922 changed SelfCert to use a helper from pkg/fileutils which
introduced a transitive dependency on coreos/pkg/capnslog. This means
anyone who imports pkg/transport to use TLS with the clientv3 library
has the default stdlib logger hijacked by capnslog.
This PR reverts 4a0f922. There are no tests because 4a0f922 contained no
test and was not attached to a PR.
Fixes #7350
2017-02-20 12:32:04 +11:00