Wenjia
ab9e3d9829
functional: Update functional test README.md
2019-08-08 18:40:15 -07:00
Gyuho Lee
0b2b25e1c1
CHANGELOG: update metrics
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-08 15:08:10 -07:00
Gyuho Lee
046c705f97
Merge pull request #11009 from gyuho/snapshot
...
*: add inflight snapshot metrics
2019-08-08 13:56:14 -07:00
Gyuho Lee
06b82c200f
etcdserver: add "etcd_server_snapshot_apply_inflights_total"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-08 13:33:52 -07:00
Gyuho Lee
a4badc33a3
integration: test snapshot inflights metrics
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-08 13:33:52 -07:00
Gyuho Lee
46bddacacb
etcdserver/api: add "etcd_network_snapshot_send_inflights_total", "etcd_network_snapshot_receive_inflights_total"
...
Useful for deciding when to terminate the unhealthy follower.
If the follower is receiving a leader snapshot, operator may wait.
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-08 13:33:48 -07:00
Gyuho Lee
43ce2eefaa
Merge pull request #10995 from yuzeming/patch-3
...
agent: fix data race and deadlock
2019-08-08 12:22:20 -07:00
Zeming YU
c762a3d7f7
agent: fix a data race and deadlock
...
add 1-size buffer for `errc` to avoid deadlock of child goroutine
add a local variable to a void data race in `err`
when `case <-stream.Context().Done():` is taken
2019-08-08 11:05:30 -07:00
Sahdev Zala
e745649cce
Merge pull request #10960 from spzala/readmesec
...
README: update security reference
2019-08-08 13:31:33 -04:00
Gyuho Lee
c4b8ec5369
CHANGELOG: update links, raft updates
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-08 09:20:16 -07:00
Gyuho Lee
bfcd590f05
Merge pull request #11000 from retroflexer/doc-fix-broken-links
...
doc: Fix broken links referring to readthedocs.io
2019-08-08 09:12:39 -07:00
Gyuho Lee
1c65af7acf
Merge pull request #11006 from gyuho/functional
...
functiona: fix flaky tests
2019-08-08 09:08:23 -07:00
Gyuho Lee
72e00cea3a
functional/agent: copy file, instead of renaming
...
To retain failure logs in CI testing.
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-08 08:12:05 -07:00
Gyuho Lee
d1c7be24b0
functional/rpcpb: make client log less verbose
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-08 08:06:48 -07:00
Gyuho Lee
0926a434b7
functional.yaml: try lower snapshot count for flaky tests, error threshold
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-08 08:06:48 -07:00
Tobias Grieger
a41bd303ec
Merge pull request #10998 from tbg/learners-vote
...
raft: let learners vote
2019-08-08 11:26:17 +02:00
Jingyi Hu
03bd10076f
Merge pull request #10955 from lzhfromustc/master
...
Avoid potential double lock of tsafeSet
2019-08-07 15:50:05 -07:00
lzhfromustc
0e7173b447
pkg/types: Avoid potential double lock of tsafeSet.
...
(tsafeSet).Sub and (tsafeSet).Equals can cause double lock bug if ts and other is pointing the same variable
gofmt the code and add some comments
2019-08-07 15:08:00 -07:00
Gyuho Lee
158354755a
test: output etcd server logs when functional tests fail
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-07 10:16:15 -07:00
retroflexer
742f928c6a
Broken link in runtime-configuration.md
...
See the issue created here:
https://github.com/etcd-io/etcd/issues/10989#issuecomment-518726038
doc: fix broken links referring to etcd.redhatdocs.io
Adding links to internal Documentation within github.com.
Update runtime-configuration.md
Update runtime-configuration.md
Update CHANGELOG-3.3.md
Remove extra space
Keep the formatting similar to original
2019-08-07 10:50:21 -04:00
Tobias Schottdorf
c30c2e345b
raft: let learners vote
...
It turns out that that learners must be allowed to cast votes.
This seems counter- intuitive but is necessary in the situation in which
a learner has been promoted (i.e. is now a voter) but has not learned
about this yet.
For example, consider a group in which id=1 is a learner and id=2 and
id=3 are voters. A configuration change promoting 1 can be committed on
the quorum `{2,3}` without the config change being appended to the
learner's log. If the leader (say 2) fails, there are de facto two
voters remaining. Only 3 can win an election (due to its log containing
all committed entries), but to do so it will need 1 to vote. But 1
considers itself a learner and will continue to do so until 3 has
stepped up as leader, replicates the conf change to 1, and 1 applies it.
Ultimately, by receiving a request to vote, the learner realizes that
the candidate believes it to be a voter, and that it should act
accordingly. The candidate's config may be stale, too; but in that case
it won't win the election, at least in the absence of the bug discussed
in:
https://github.com/etcd-io/etcd/issues/7625#issuecomment-488798263 .
2019-08-07 12:03:18 +02:00
Jingyi Hu
0d85aa1b41
Merge pull request #10993 from yuzeming/patch-1
...
integration: fix a data race about `err`
2019-08-06 15:58:21 -07:00
Gyuho Lee
88f4b83ba9
mvcc: fix typo in test
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-06 15:09:05 -07:00
Gyuho Lee
a996a8a912
Merge pull request #10990 from gyuho/grpc
...
vendor: update gRPC to latest
2019-08-06 15:08:11 -07:00
Gyuho Lee
877aa2497e
Merge pull request #10994 from yuzeming/patch-2
...
v3rpc: fix a typo `err`
2019-08-06 15:06:27 -07:00
Zeming YU
181419256d
integration: fix a data race about err
...
don't share `err` between goroutines
2019-08-06 14:58:15 -07:00
Zeming YU
3edb569ad3
v3rpc: fix a typo err
...
don't read return value in child goroutine which causes data race.
2019-08-06 14:04:58 -07:00
Gyuho Lee
017b6c424e
stream: Prevent panic when newAttemptLocked fails to get a transport for the new attempt
...
Testing https://github.com/grpc/grpc-go/pull/2958
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-06 13:08:47 -07:00
Gyuho Lee
f5f400b14a
vendor: update gRPC to latest
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-06 10:20:02 -07:00
Gyuho Lee
44a00a33ef
Merge pull request #10987 from wenjiaswe/functional-test-fix
...
functional: update go.etcd.io/etcd link and go image registry for func…
2019-08-05 22:45:12 -07:00
Wenjia Zhang
f7397d0628
functional:update go.etcd.io/etcd link and go image registry for functional test
2019-08-05 22:19:45 -07:00
Gyuho Lee
bcaaeebc82
Merge pull request #10985 from etcd-io/wenjiaswe-update-functional-readme
...
functional test: Update functional README.md
2019-08-05 21:45:09 -07:00
Wenjia
0a0b2be8fc
functional test: Update functional README.md
2019-08-05 20:51:24 -07:00
Gyuho Lee
a494e0658d
Merge pull request #10981 from gyuho/deprecate-grpc-clientconnclosing
...
Deprecate "grpc.ErrClientConnClosing"
2019-08-05 14:37:44 -07:00
Gyuho Lee
a0cabb57b5
Documentation/upgrades: highlight "grpc.ErrClientConnClosing"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-05 13:29:45 -07:00
Gyuho Lee
3b71672f84
CHANGELOG-3.4: deprecate "grpc.ErrClientConnClosing"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-05 13:29:03 -07:00
Gyuho Lee
9b2f18c6fb
proxy/grpcproxy: deprecate "grpc.ErrClientConnClosing"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-05 13:27:16 -07:00
Gyuho Lee
0bd27ea963
functional: deprecate "grpc.ErrClientConnClosing"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-05 13:27:16 -07:00
Gyuho Lee
9b385737f5
clientv3: deprecate "grpc.ErrClientConnClosing"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-05 13:27:16 -07:00
Gyuho Lee
4bf584893c
functional: use Go 1.12.7 as default
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-05 12:40:31 -07:00
Gyuho Lee
ac87ebdb02
pkg/adt: remove TODO
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-05 00:24:39 -07:00
Gyuho Lee
4b0af5b4ac
clientv3: document "WithBlock" dial option
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-04 23:52:17 -07:00
Gyuho Lee
2847367b60
travis: do not allow CPU 4 test failures
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-04 23:35:19 -07:00
Gyuho Lee
f7992237ce
scripts/release: remove acbuild commands
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-04 23:20:41 -07:00
Gyuho Lee
af19d014e1
CHANGELOG-3.4: highlight rbtree fix
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-04 23:09:07 -07:00
xkey
003362ef8e
pkg/adt: fix interval tree black-height property based on rbtree
...
Author: xkey <xk33430@ly.com>
ref. https://github.com/etcd-io/etcd/pull/10978
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-04 23:08:45 -07:00
Gyuho Lee
9a2af7378a
tests/e2e: skip release tests until release candidate
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-03 00:09:44 -07:00
Gyuho Lee
b842cf7770
tests/e2e: fix upgrade, metrics tests
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-02 15:57:45 -07:00
Gyuho Lee
189071dcd4
functional: remove "embed" support in tests
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-02 15:56:52 -07:00
Gyuho Lee
7fbbb9c8bf
*: add 3.5 capability for 3.5 dev tree
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-02 15:27:54 -07:00