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
1c65af7acf
Merge pull request #11006 from gyuho/functional
...
functiona: fix flaky tests
2019-08-08 09:08:23 -07:00
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
d1c7be24b0
functional/rpcpb: make client log less verbose
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-08 08:06:48 -07:00
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
a41bd303ec
Merge pull request #10998 from tbg/learners-vote
...
raft: let learners vote
2019-08-08 11:26:17 +02:00
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
03bd10076f
Merge pull request #10955 from lzhfromustc/master
...
Avoid potential double lock of tsafeSet
2019-08-07 15:50:05 -07:00
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
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
9553994cd7
raft/auorum: remove unused type
2019-08-07 18:53:01 +02:00
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
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
0d85aa1b41
Merge pull request #10993 from yuzeming/patch-1
...
integration: fix a data race about `err`
2019-08-06 15:58:21 -07:00
88f4b83ba9
mvcc: fix typo in test
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-06 15:09:05 -07:00
a996a8a912
Merge pull request #10990 from gyuho/grpc
...
vendor: update gRPC to latest
2019-08-06 15:08:11 -07:00
877aa2497e
Merge pull request #10994 from yuzeming/patch-2
...
v3rpc: fix a typo `err`
2019-08-06 15:06:27 -07:00
181419256d
integration: fix a data race about err
...
don't share `err` between goroutines
2019-08-06 14:58:15 -07:00
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
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
f5f400b14a
vendor: update gRPC to latest
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-06 10:20:02 -07:00
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
f7397d0628
functional:update go.etcd.io/etcd link and go image registry for functional test
2019-08-05 22:19:45 -07:00
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
0a0b2be8fc
functional test: Update functional README.md
2019-08-05 20:51:24 -07:00
a494e0658d
Merge pull request #10981 from gyuho/deprecate-grpc-clientconnclosing
...
Deprecate "grpc.ErrClientConnClosing"
2019-08-05 14:37:44 -07:00
a0cabb57b5
Documentation/upgrades: highlight "grpc.ErrClientConnClosing"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-05 13:29:45 -07:00
3b71672f84
CHANGELOG-3.4: deprecate "grpc.ErrClientConnClosing"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-05 13:29:03 -07:00
9b2f18c6fb
proxy/grpcproxy: deprecate "grpc.ErrClientConnClosing"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-05 13:27:16 -07:00
0bd27ea963
functional: deprecate "grpc.ErrClientConnClosing"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-05 13:27:16 -07:00
9b385737f5
clientv3: deprecate "grpc.ErrClientConnClosing"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-05 13:27:16 -07:00
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
ac87ebdb02
pkg/adt: remove TODO
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-05 00:24:39 -07:00
4b0af5b4ac
clientv3: document "WithBlock" dial option
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-04 23:52:17 -07:00
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
f7992237ce
scripts/release: remove acbuild commands
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-04 23:20:41 -07:00
af19d014e1
CHANGELOG-3.4: highlight rbtree fix
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-04 23:09:07 -07:00
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
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
b842cf7770
tests/e2e: fix upgrade, metrics tests
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-02 15:57:45 -07:00
189071dcd4
functional: remove "embed" support in tests
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-02 15:56:52 -07:00
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
3658571e3a
etcdserver/api: enable 3.4 capability
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-02 15:24:18 -07:00
040f2c5526
version: 3.4.0-pre
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-01 16:05:22 -07:00
f1c7fd3d53
functional: add "LogLevel" flags
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-01 15:58:01 -07:00
22a3ec3ac5
CHANGELOG-3.4: highlight version string change
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-01 15:30:04 -07:00
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
d239b21d10
Documentation/upgrades: update 3.4 guides
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-01 15:26:16 -07:00
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
328fdc2150
mvcc: add TODOs
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-01 14:45:21 -07:00