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
Tobias Schottdorf
1b3e0821a7
raft/tracker: visit Progress in stable order
...
This is helpful for upcoming testing work which allows datadriven
testing of the interaction of multiple nodes. This testing requires
determinism to work correctly.
2019-08-08 09:37:33 +02:00
Ziheng Liu
a0b2c6ad4b
proxy/grpcproxy: Add critical section to protect wps.watchers and wps.nextWatcherID
2019-08-07 17:58:49 -07: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
Tobias Schottdorf
9553994cd7
raft/auorum: remove unused type
2019-08-07 18:53:01 +02: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
Gyuho Lee
3658571e3a
etcdserver/api: enable 3.4 capability
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-02 15:24:18 -07:00
Gyuho Lee
040f2c5526
version: 3.4.0-pre
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-01 16:05:22 -07:00
Gyuho Lee
f1c7fd3d53
functional: add "LogLevel" flags
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-01 15:58:01 -07:00
Gyuho Lee
22a3ec3ac5
CHANGELOG-3.4: highlight version string change
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-01 15:30:04 -07:00
Gyuho Lee
4244ea4390
CHANGELOG: update with latest changes, make language consistent
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-01 15:26:31 -07:00
Gyuho Lee
d239b21d10
Documentation/upgrades: update 3.4 guides
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-01 15:26:16 -07:00
Gyuho Lee
b679c12a51
Merge pull request #10968 from gyuho/mmm
...
mvcc: add "etcd_mvcc_range_total", "etcd_mvcc_txn_total"
2019-08-01 14:46:49 -07:00
Gyuho Lee
328fdc2150
mvcc: add TODOs
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-01 14:45:21 -07:00