6c2be0822d
tests: Add e2e tests for downgrades
2021-10-29 12:47:19 +02:00
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
335dc98c8d
server: Use server version to decide if to downgrade has finished
2021-10-29 12:47:19 +02:00
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
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
11f7729660
Merge pull request #13450 from etcd-io/fix-1.17
...
*: fixup go 1.17 bump
2021-10-27 20:19:03 -04:00
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
316e62b4e1
*: fixup go 1.17 bump
...
Signed-off-by: Sam Batschelet <sbatsche@redhat.com >
2021-10-27 14:26:55 -04:00
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
0acbf2fc85
Merge pull request #13440 from lilic/bump-go-17
2021-10-27 08:12:37 -04:00
e6e279a14d
*: Bump go to go v1.17.2
2021-10-27 13:44:54 +02:00
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
42789e4440
fix genproto
2021-10-26 16:41:55 +08:00
ea3c86ef5b
raft: add test for leadership transfer in joint configuration
2021-10-25 14:10:27 -07:00
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
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
020c4f8ca7
raft: avoid jump tag to make code more understandable
2021-10-24 19:33:22 +08:00
c534a78340
Merge pull request #13437 from gyuho/update-maintainers
...
MAINTAINERS: update Gyuho's contact email
2021-10-23 06:33:06 -04:00
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
9c6d57918d
update CHANGELOG
2021-10-22 16:36:59 -07:00
7b6554fd30
non mutating requests pass through quotaKVServer when NOSPACE
2021-10-22 16:36:37 -07:00
ef1f71a9f6
Merge pull request #13411 from serathius/framework
...
Move e2e/integration cluster setup to separate package
2021-10-21 17:09:49 +02:00
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
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
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
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
d127b65f18
Merge pull request #13427 from cfz/main
...
CHANGELOG: add v3.5 to recommended version list
2021-10-20 06:19:29 -04:00
691dcd51f6
Merge pull request #13339 from ardaguclu/support-zap-console-encoding
2021-10-20 05:39:43 -04:00
ca9b720c1d
tests: Move integration setup to separa framework package
2021-10-20 10:34:35 +02:00
007a775006
CHANGELOG: add v3.5 to recommended version list
...
Closes #13425
2021-10-20 12:00:42 +08:00
dcd0d3fc9c
tests: Extract e2e cluster setup to separate package
2021-10-19 13:06:40 +02:00
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
c72947d87f
Merge pull request #13416 from chaochn47/autoSync_benchmark
...
add autoSync flag in benchmark tool
2021-10-16 10:57:43 -04:00
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
9084acceac
tools/benchmark: add autoSync flag
2021-10-15 22:03:23 -07:00
9038e65359
scripts/genproto.sh: fix module path of wal proto files
2021-10-15 22:00:16 -07:00
c0ab5708a5
Merge pull request #13422 from hasbro17/changelog-3.5.1
...
CHANGELOG: 3.5.1
2021-10-15 17:57:23 -04:00
74d2621266
CHANGELOG: 3.5.1
2021-10-15 14:55:00 -07:00
fbf83a3746
Merge pull request #13421 from hasbro17/update-changelog-3.4.18
...
CHANGELOG: 3.4.18
2021-10-15 16:46:04 -04:00
f2e7063a83
Merge pull request #13420 from hasbro17/update-changelog-3.3.27
...
CHANGELOG: 3.3.27
2021-10-15 16:45:42 -04:00
f8c1f7804d
CHANGELOG: 3.4.18
2021-10-15 13:27:51 -07:00
a3b17b3d9f
CHANGELOG: 3.3.27
2021-10-15 13:13:46 -07:00
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
49a8aa7f49
run fix.sh
...
To fix dependencies.
Signed-off-by: Vladimir Ermakov <vooon341@gmail.com >
2021-10-13 14:08:27 +03:00
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
519f62b269
Merge pull request #13407 from hexfusion/fix-grpc-slow
...
contrib/mixin: omit Defragment method from etcdGRPCRequestsSlow
2021-10-11 13:33:43 -04:00
923f0aa3e7
etcdserver: Expose metrics with all known peers
...
To make it possible to alert on misconfigured etcd clusters that have
missing/superfluous peers, expose the list of peers as a metric.
This metric can, for example, be compared to the control-plane nodes of
a kubernetes cluster.
2021-10-09 14:27:10 +02:00
0eb72bde2c
contrib/mixin: omit Defragment method from etcdGRPCRequestsSlow
...
Signed-off-by: Sam Batschelet <sbatsche@redhat.com >
2021-10-08 16:21:46 -04:00
4bcdee5c65
tests: Extract flag init from main_test.go
2021-10-08 22:01:11 +02:00
5b226e0abf
Merge pull request #13391 from serathius/downgrade-refactor
...
Refactor code to make place for downgrade logic
2021-10-08 12:38:25 +02:00