19153 Commits

Author SHA1 Message Date
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
Sam Batschelet
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
Jille Timmermans
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
Sam Batschelet
0eb72bde2c contrib/mixin: omit Defragment method from etcdGRPCRequestsSlow
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
2021-10-08 16:21:46 -04:00
Marek Siarkowicz
4bcdee5c65 tests: Extract flag init from main_test.go 2021-10-08 22:01:11 +02:00
Piotr Tabor
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
Marek Siarkowicz
f92b4f9a28 server: Integrate version validation logic into tests 2021-10-08 12:01:54 +02:00
Marek Siarkowicz
620832a4a5 server: Use panic instead of os.Exit in mustDetectDowngrade 2021-10-08 12:01:54 +02:00
Marek Siarkowicz
d039f016c5 server: Move Storage interface to storage package 2021-10-08 12:01:53 +02:00
Marek Siarkowicz
703df1c491 server: Move wal versioning functions to wal package 2021-10-08 12:01:53 +02:00
Marek Siarkowicz
e47c3c22d2 server: Move downgrade API logic into version package 2021-10-08 12:01:51 +02:00
Marek Siarkowicz
1e5e57f268 server: Move downgrade detection code to version package 2021-10-08 10:41:37 +02:00
Marek Siarkowicz
378159af30 server: Refactor cluster version decision code 2021-10-08 10:41:37 +02:00
Marek Siarkowicz
2de36c0596 server: Cover monitor with upgrade unit tests 2021-10-08 10:41:35 +02:00
Arda Güçlü
d7fa8022e6
Merge branch 'main' into support-zap-console-encoding 2021-10-08 11:00:57 +03:00
JmPotato
471a804665 Remove the unnecessary code
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2021-10-08 14:59:41 +08:00
JmPotato
0504ecdc70 Refine some code and fix a typo
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2021-10-08 12:07:02 +08:00
Piotr Tabor
b28146f56f
Merge pull request #13401 from ernado/testutil/populate-logger-dir-all
client/pkg/fileutil: add missing logger to {Create,Touch}DirAll
2021-10-07 19:06:45 +02:00
Piotr Tabor
33623c3f03
Merge pull request #13224 from sakateka/issue-7798-netutil-fix
netutil: add url comparison without resolver to URLStringsEqual
2021-10-07 18:19:42 +02:00
Aleksandr Razumov
3644c9d67b
client/pkg/fileutil: add missing logger to {Create,Touch}DirAll
Also populate it to every invocation.
2021-10-07 17:53:59 +03:00
Karen Almog
75747f24bc Add unix socket test to TestNewURLsValue 2021-10-07 11:59:32 +02:00
Karen Almog
d93b7c8cb1 pkg/types: Support Unix sockets in NewURLS
Resolves #12450
This commits adds support to unix/unixs socket URLs, which currently
fail with the message "URL address does not have the form "host:port".
It also replaces the work started in #11747.
2021-10-07 11:59:32 +02:00
Gyuho Lee
3f639e59e4
Merge pull request #13398 from geetasg/main
CHANGELOG updating changelogs for etcd_disk_defrag_inflight backport
2021-10-06 11:15:41 -07:00
Geeta Gharpure
0804aae754 CHANGELOG updating changelogs for etcd_disk_defrag_inflight backport 2021-10-06 11:09:50 -07:00
Gyuho Lee
b571ec5e67
Merge pull request #13371 from geetasg/main
storage/backend: Add a gauge to indicate if defrag is active
2021-10-05 11:01:49 -07:00
Ryan J. Geyer
98427d2bed contrib/mixin: Update dashboard queries to use $__rate_interval
A global query variable was introduced in Grafana 7.2 which is "almost always right" for `rate`, `irate`, and `increase` function calls in promql.
2021-10-04 15:02:11 -07:00
Geeta Gharpure
205720c696 CHANGELOG-3.6 Add etcd_disk_defrag_inflight to indicate if defrag is active 2021-10-04 12:52:20 -07:00
Sam Batschelet
1d73f3c6f2
Merge pull request #13384 from hexfusion/bump-cl-3.3.26
CHANGELOG: 3.3.26
2021-10-04 00:12:25 -04:00
Sam Batschelet
168b074383 CHANGELOG: 3.3.26
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
2021-10-03 23:43:51 -04:00
Sam Batschelet
e66ecd758e
Merge pull request #13383 from hexfusion/bump-cl-3.4.17
CHANGELOG: 3.4.17
2021-10-03 23:26:28 -04:00
Sam Batschelet
741e19fb50 CHANGELOG: 3.4.17
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
2021-10-03 22:22:44 -04:00
Geeta Gharpure
2d7a7d7da4 CHANGELOG - etcd_disk_defrag_inflight
Add a gauge to indicate if defrag is active
2021-10-02 14:53:17 -07:00
Sam Batschelet
5703bb27d7
Merge pull request #13376 from hexfusion/bump-base
Dockerfile: bump debian image to bullseye-20210927
2021-10-01 12:43:57 -04:00
Sam Batschelet
aab7829048 Dockerfile: bump debian bullseye-20210927
fixes: CVE-2021-3711, CVE-2021-35942, CVE-2019-9893

Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
2021-09-30 13:56:11 -04:00
Piotr Tabor
f3cfe0f1a5
Merge pull request #13359 from serathius/authority
Fix http2 authority header in single endpoint scenario
2021-09-29 22:38:36 +02:00
Marek Siarkowicz
d52d7fc21e Update changelog with information about authority header fix 2021-09-29 16:25:01 +02:00
Marek Siarkowicz
c929a917b6 client: Use first endpoint as http2 authority header 2021-09-29 14:41:35 +02:00
Marek Siarkowicz
ec419f8613 tests: Add grpc authority e2e tests 2021-09-29 14:41:33 +02:00
Marek Siarkowicz
90932324b1 client: Add grpc authority header integration tests 2021-09-29 12:42:16 +02:00
Marek Siarkowicz
c3cc22c60d tests: Allow configuring integration tests to use TCP 2021-09-29 12:42:16 +02:00