Gyu-Ho Lee
72d2adca62
Merge pull request #7854 from gyuho/lease-retry
...
integration: ensure revoke completes before TimeToLive
2017-05-02 12:56:56 -07:00
Gyu-Ho Lee
01b6cdf13d
integration: ensure revoke completes before TimeToLive
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-05-02 12:56:26 -07:00
Xiang Li
24f0423088
Merge pull request #7855 from tessr/master
...
raft: add chain core to notable users list
2017-05-02 11:30:03 -07:00
Tess Rinearson
3d504737e4
add chain core to raft users list
2017-05-02 11:23:25 -07:00
Gyu-Ho Lee
bb42ba5f4e
Documentation/upgrades: revert KeepAlive interface change
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-05-02 09:45:06 -07:00
Anthony Romano
6dd8fb6f24
Revert "Merge pull request #7732 from heyitsanthony/lease-err-ka"
...
This reverts commit fbbc4a4979b256125d2238f6325ad86e7f1b58bd, reversing
changes made to f254e383859a2939d5929346f6595549f424f7c5.
Fixes #7851
2017-05-02 09:36:16 -07:00
Gyu-Ho Lee
fdf445b5a0
Merge pull request #7848 from gyuho/close-grpcc
...
embed: fix blocking Close before gRPC server start
2017-05-01 18:44:20 -07:00
Anthony Romano
f065d8e258
Merge pull request #7845 from heyitsanthony/single-node-docker
...
Documentation: add documentation for single node docker etcd
2017-05-01 16:42:19 -07:00
Gyu-Ho Lee
b0e9d24fb6
embed: fix blocking Close before gRPC server start
...
If 'StartEtcd' returns before starting gRPC server
(e.g. mismatch snapshot, misconfiguration),
receiving from grpcServerC blocks forever. This patch
just closes the channel to not block on grpcServerC,
and proceeds to next stop operations in Close.
This was masking the issues in https://github.com/coreos/etcd/issues/7834
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-05-01 16:41:13 -07:00
Anthony Romano
b1720b779c
Merge pull request #7846 from heyitsanthony/build-aci-annotate
...
scripts: annotate with acbuild with supports-systemd-notify
2017-05-01 16:04:03 -07:00
Anthony Romano
6c1ce697a6
scripts: annotate with acbuild with supports-systemd-notify
...
Fixes #7840
2017-05-01 12:59:08 -07:00
Anthony Romano
3f1f5e5215
Merge pull request #7844 from heyitsanthony/v2-docker-tag
...
Documentation/v2: pin docker guide to use latest 2.3.x
2017-05-01 12:54:03 -07:00
Anthony Romano
b8f08d400d
Documentation: add documentation for single node docker etcd
...
Fixes #7843
2017-05-01 12:36:16 -07:00
Anthony Romano
066f9bf7e3
Documentation/v2: pin docker guide to use latest 2.3.x
2017-05-01 11:46:39 -07:00
Gyu-Ho Lee
f0ca65a95d
version: bump up to 3.2.0-rc.0+git
2017-04-28 11:06:53 -07:00
Gyu-Ho Lee
7e6d876385
version: bump up to 3.2.0-rc.0
v3.2.0-rc.0
2017-04-28 10:09:39 -07:00
Gyu-Ho Lee
7239249155
Merge pull request #7837 from gyuho/tls-errors
...
integration: match more TLS errors for wrong certs
2017-04-28 10:08:34 -07:00
Gyu-Ho Lee
cfeab9324e
integration: match more TLS errors for wrong certs
...
Fix https://github.com/coreos/etcd/issues/7835 .
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-04-28 10:03:29 -07:00
Gyu-Ho Lee
77fd369b1c
Merge pull request #7832 from gyuho/doc-for-3.2
...
Documentation: add upgrade to 3.2 doc
2017-04-27 21:27:26 -07:00
Gyu-Ho Lee
cbd7ef4ee6
Documentation: add upgrade to 3.2 doc
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-04-27 14:39:42 -07:00
Gyu-Ho Lee
747993de08
Merge pull request #7829 from gyuho/certs
...
pkg/transport: reload TLS certificates for every client requests
2017-04-27 14:36:53 -07:00
Gyu-Ho Lee
96d6f05391
Merge pull request #7831 from gyuho/cc
...
pkg/wait: add comment and make List private
2017-04-27 13:45:25 -07:00
Gyu-Ho Lee
22943e7e06
integration: test TLS reload
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-04-27 13:32:09 -07:00
Xiang Li
d818ef2c76
pkg/wait: add comment and make List private
2017-04-27 13:25:02 -07:00
Tony Grosinger
4e21f87e3d
pkg/transport: reload TLS certificates for every client requests
...
This changes the baseConfig used when creating tls Configs to utilize
the GetCertificate and GetClientCertificate functions to always reload
the certificates from disk whenever they are needed.
Always reloading the certificates allows changing the certificates via
an external process without interrupting etcd.
Fixes #7576
Cherry-picked by Gyu-Ho Lee <gyuhox@gmail.com>
Original commit can be found at https://github.com/coreos/etcd/pull/7784
2017-04-27 11:22:03 -07:00
Aaron Lehmann
52613b262b
raft: Set the RecentActive flag for newly added nodes
...
I found that enabling the CheckQuorum flag led to spurious leader
elections when new nodes joined. It looks like in the time between a new
node joining the cluster, and that node first communicating with the
leader, the quorum check could fail because the new node looks inactive.
To solve this, set the RecentActive flag when nodes are first added.
This gives a grace period for the node to communicate before it causes
the quorum check to fail.
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2017-04-27 11:19:29 -07:00
Anthony Romano
c309d745a6
Merge pull request #7819 from heyitsanthony/fix-elect-compact
...
concurrency: use current revisions for election
2017-04-27 11:01:44 -07:00
Anthony Romano
2a3229c00a
Merge pull request #7808 from heyitsanthony/auto-bom
...
CI BOM checking
2017-04-27 09:24:59 -07:00
Anthony Romano
3e7bd47cd5
travis: add bill-of-materials checking
...
Fixes #7780
2017-04-26 16:29:48 -07:00
Anthony Romano
2059c8e9e7
vendor: revendor speakeasy to include unix license file
...
updates BOM
2017-04-26 16:29:48 -07:00
Anthony Romano
b77de97136
test: bill of materials check pass
2017-04-26 16:29:47 -07:00
Gyu-Ho Lee
633a0a847b
Merge pull request #7824 from gyuho/certs
...
*: test expired certs in client
2017-04-26 13:31:17 -07:00
Gyu-Ho Lee
f674a1b583
clientv3/integration: test client dial with expired certs
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-04-26 12:32:46 -07:00
Gyu-Ho Lee
7cb860a31b
integration/fixtures: add expired certs
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-04-26 12:22:54 -07:00
Anthony Romano
d2e69b339f
Merge pull request #7816 from heyitsanthony/v3client-blankctx
...
v3client: wrap watch ctxs with blank ctx
2017-04-25 21:53:14 -07:00
Gyu-Ho Lee
41e77c9db6
Merge pull request #7818 from gyuho/doc
...
Documentation: require Go 1.8+ for build
2017-04-25 21:46:07 -07:00
Anthony Romano
50f29bd661
concurrency: use current revisions for election
...
Watching from the leader's ModRevision could cause live-locking on
observe retry loops when the ModRevision is less than the compacted
revision. Instead, start watching the leader from at least the store
revision of the linearized read used to detect the current leader.
Fixes #7815
2017-04-25 20:15:50 -07:00
Anthony Romano
6486be673b
integration: test Observe can read leaders set prior to compaction
2017-04-25 20:03:49 -07:00
Gyu-Ho Lee
4959663f90
Documentation: require Go 1.8+ for build
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-04-25 17:04:54 -07:00
fanmin shi
c49a87bd04
Merge pull request #7672 from fanminshi/integrate_runner_to_tester
...
etcd-tester: integrate etcd runner into etcd tester
2017-04-25 15:22:29 -07:00
fanmin shi
60b9adc267
Merge pull request #7812 from fanminshi/refactor_runner
...
etcd-runner: fix runner and minor refactoring.
2017-04-25 15:21:57 -07:00
Anthony Romano
3ce31acda4
v3client: wrap watch ctxs with blank ctx
...
Printing the values in ctx.String() will data race if the value
is mutable and doesn't implement String(), which seems to be common.
Instead, just return a fixed string instead of computing it; v3client
watches don't need as much flexibility for creating separate strings,
so separate ctx strings probably aren't necessary at this point.
Fixes #7811
2017-04-25 15:03:06 -07:00
Gyu-Ho Lee
96aaeee4f5
Merge pull request #7814 from gyuho/aaa
...
etcdserver: do not block on raft stopping
2017-04-25 15:00:06 -07:00
fanmin shi
a9e04061b1
etcd-runner: integrate etcd runner in to etcd tester
...
etcd tester runs etcd runner as a separate binary.
it signals sigstop to the runner when tester wants to stop stressing.
it signals sigcont to the runner when tester wants to start stressing.
when tester needs to clean up, it signals sigint to runner.
FIXES #7026
2017-04-25 14:53:23 -07:00
fanmin shi
77fbe10dfc
etcd-runner: add --prefix flag, allows inf round, and minor vars refactoring in watch runner.
2017-04-25 14:18:42 -07:00
fanmin shi
debc69e1f2
etcd-runner: pass in lock name as a command arg for lock_racer.
2017-04-25 14:18:42 -07:00
fanmin shi
72fb756af3
etcd-runner: add lease ttl as a flag and fatal when err in lease-runner.
2017-04-25 14:18:42 -07:00
fanmin shi
d57ad8ec8d
etcd-runner: add barrier, observe !ok handling, and election name arg to election-runner.
2017-04-25 14:17:59 -07:00
fanmin shi
fa85445ef8
etcd-runner: add rate limiting in doRounds()
2017-04-25 14:00:52 -07:00
Gyu-Ho Lee
327f09fcb4
etcdserver: do not block on raft stopping
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-04-25 13:35:43 -07:00