17438 Commits

Author SHA1 Message Date
Sam Batschelet
63a1cc3fe4 add --experimental-max-learner flag
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
2021-11-09 09:52:00 -05:00
Piotr Tabor
6656181d31
Merge pull request #13358 from LeoYang90/fix_genprotobuf
Fix genproto path error:./server/wal/walpb
2021-10-29 23:27:47 +02:00
Piotr Tabor
fd0b98b6c0
Merge pull request #13404 from JmPotato/refine_periodic
v3compactor: refine some code and fix a typo
2021-10-29 23:25:23 +02:00
Piotr Tabor
6c2f5dc78a
Merge pull request #13405 from serathius/downgrade-b
Implement single node downgrades
2021-10-29 23:22:10 +02:00
Piotr Tabor
9c28e07588
Merge pull request #13447 from Juneezee/deprecate-ioutil
*: move from io/ioutil to io and os packages
2021-10-29 23:18:36 +02:00
Marek Siarkowicz
9d47a97b0b server: Remove lock from adapter to avoid deadlock 2021-10-29 12:47:19 +02:00
Marek Siarkowicz
6c2be0822d tests: Add e2e tests for downgrades 2021-10-29 12:47:19 +02:00
Marek Siarkowicz
431adc5878 server: Implement storage downgrades
By validating if WAL doesn't include any incompatible entries we can
implement storage downgrades.
2021-10-29 12:47:19 +02:00
Marek Siarkowicz
335dc98c8d server: Use server version to decide if to downgrade has finished 2021-10-29 12:47:19 +02:00
Marek Siarkowicz
f5d71fa389 server: Detect when WAL includes unapplied cluster version set to higher version
This is because etcd v3.5 will panic when it encounters
ClusterVersionSet entry with version >3.5.0. For downgrades to v3.5 to
work we need to make sure this entry is snapshotted.
2021-10-29 12:47:19 +02:00
Marek Siarkowicz
758fc0f8ad server: Depend only on cluster version to detect downgrade
Problem with old code was that during downgrade only members with
downgrade target version were allowed to join. This is unrealistic as
it doesn't handle any members to disconnect/rejoin.
2021-10-29 12:47:17 +02:00
Sam Batschelet
11f7729660
Merge pull request #13450 from etcd-io/fix-1.17
*: fixup go 1.17 bump
2021-10-27 20:19:03 -04:00
Sam Batschelet
a0bdfc4fc9 tests/integration/clientv3: allow time for endpoints to update
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
2021-10-27 17:26:30 -04:00
Sam Batschelet
316e62b4e1 *: fixup go 1.17 bump
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
2021-10-27 14:26:55 -04:00
Eng Zer Jun
2a151c8982
*: move from io/ioutil to io and os packages
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-10-28 00:05:28 +08:00
Sam Batschelet
0acbf2fc85
Merge pull request #13440 from lilic/bump-go-17 2021-10-27 08:12:37 -04:00
Lili Cosic
e6e279a14d *: Bump go to go v1.17.2 2021-10-27 13:44:54 +02:00
Tobias Grieger
e699a12e15
Merge pull request #13436 from cockroachdb/shralex_test_leadership_transfer
raft: add test for leadership transfer in joint configuration
2021-10-26 14:26:09 +02:00
leoyang.yl
42789e4440 fix genproto 2021-10-26 16:41:55 +08:00
shralex
ea3c86ef5b raft: add test for leadership transfer in joint configuration 2021-10-25 14:10:27 -07:00
Sam Batschelet
3b1ecc4cbe
Merge pull request #13412 from Jille/known-peers-metric
etcdserver: Expose metrics with all known peers
2021-10-25 10:08:33 -04:00
Gyuho Lee
02cdd19539
Merge pull request #13435 from chaochn47/kube_apiserver_delete_success_when_etcd_NOSPACE
etcdserver: non-mutating requests pass through quotaKVServer when NOS…
2021-10-24 21:35:32 -07:00
Sam Batschelet
c534a78340
Merge pull request #13437 from gyuho/update-maintainers
MAINTAINERS: update Gyuho's contact email
2021-10-23 06:33:06 -04:00
Gyuho Lee
89ac2b3069 MAINTAINERS: update Gyuho's contact email
Became independent contributor.

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2021-10-22 21:51:06 -07:00
Chao Chen
9c6d57918d update CHANGELOG 2021-10-22 16:36:59 -07:00
Chao Chen
7b6554fd30 non mutating requests pass through quotaKVServer when NOSPACE 2021-10-22 16:36:37 -07:00
Piotr Tabor
ef1f71a9f6
Merge pull request #13411 from serathius/framework
Move e2e/integration cluster setup to separate package
2021-10-21 17:09:49 +02:00
Sam Batschelet
5991da1534
Merge pull request #13388 from grafana/mixin-rate-interval
contrib/mixin: Update dashboard promql to use $__rate_interval.
2021-10-21 08:14:25 -04:00
Sahdev Zala
38a7d79810
Merge pull request #13430 from grafana/datasource-label
Grafana datasource template should be labelled 'Data Source'.
2021-10-20 20:06:24 -04:00
Tom Wilkie
fead3be933
Grafana datasource template should be labelled 'Data Source'.
Signed-off-by: Tom Wilkie <tom@grafana.com>
2021-10-20 13:42:43 +01:00
Piotr Tabor
8aa6ae9bbb
Merge pull request #13361 from vooon/otel-1.0.0
server: update OpenTelemetry to 1.0.1
2021-10-20 14:14:00 +02:00
Sam Batschelet
d127b65f18
Merge pull request #13427 from cfz/main
CHANGELOG: add v3.5 to recommended version list
2021-10-20 06:19:29 -04:00
Sam Batschelet
691dcd51f6
Merge pull request #13339 from ardaguclu/support-zap-console-encoding 2021-10-20 05:39:43 -04:00
Marek Siarkowicz
ca9b720c1d tests: Move integration setup to separa framework package 2021-10-20 10:34:35 +02:00
cfz
007a775006 CHANGELOG: add v3.5 to recommended version list
Closes #13425
2021-10-20 12:00:42 +08:00
Marek Siarkowicz
dcd0d3fc9c tests: Extract e2e cluster setup to separate package 2021-10-19 13:06:40 +02:00
Sam Batschelet
547ec8d868
Merge pull request #13419 from lilic/enhance-alerts
contrib/mixin/mixin.libsonnet: Include gRPC method in alert description
2021-10-18 10:48:52 -04:00
Sam Batschelet
c72947d87f
Merge pull request #13416 from chaochn47/autoSync_benchmark
add autoSync flag in benchmark tool
2021-10-16 10:57:43 -04:00
Sam Batschelet
02abfbd32e
Merge pull request #13424 from chaochn47/fix_gen_proto
scripts/genproto.sh: fix module path of wal proto files
2021-10-16 10:55:08 -04:00
Chao Chen
9084acceac tools/benchmark: add autoSync flag 2021-10-15 22:03:23 -07:00
Chao Chen
9038e65359 scripts/genproto.sh: fix module path of wal proto files 2021-10-15 22:00:16 -07:00
Sam Batschelet
c0ab5708a5
Merge pull request #13422 from hasbro17/changelog-3.5.1
CHANGELOG: 3.5.1
2021-10-15 17:57:23 -04:00
Haseeb Tariq
74d2621266
CHANGELOG: 3.5.1 2021-10-15 14:55:00 -07:00
Sam Batschelet
fbf83a3746
Merge pull request #13421 from hasbro17/update-changelog-3.4.18
CHANGELOG: 3.4.18
2021-10-15 16:46:04 -04:00
Sam Batschelet
f2e7063a83
Merge pull request #13420 from hasbro17/update-changelog-3.3.27
CHANGELOG: 3.3.27
2021-10-15 16:45:42 -04:00
Haseeb Tariq
f8c1f7804d
CHANGELOG: 3.4.18 2021-10-15 13:27:51 -07:00
Haseeb Tariq
a3b17b3d9f
CHANGELOG: 3.3.27 2021-10-15 13:13:46 -07:00
Lili Cosic
aef9131c81 contrib/mixin/mixin.libsonnet: Include gRPC method in alert description
This makes it easier for admin to determine the alert issue.
2021-10-15 15:10:52 +02:00
Vladimir Ermakov
49a8aa7f49
run fix.sh
To fix dependencies.

Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2021-10-13 14:08:27 +03:00
Vladimir Ermakov
4f4b12d521
server: update OpenTelemetry to 1.0.1
Update API of the OpenTelemetry library and updates gRPC to 1.41.0.

Fixes #13141

Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2021-10-13 13:51:58 +03:00