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
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
Marek Siarkowicz
77cc91e0b2
test: Use unique number for grpc port
2021-09-29 12:42:16 +02:00
Marek Siarkowicz
5364758181
tests: Cleanup member interface by exposing Bridge directly
2021-09-29 12:42:16 +02:00
Marek Siarkowicz
451eb5d711
tests: Make using bridge optional
2021-09-29 12:42:14 +02:00
Marek Siarkowicz
f2dd5d80a1
tests: Rename grpcAddr to grpcURL to imply that it includes schema
2021-09-28 16:45:06 +02:00
Marek Siarkowicz
391d662f77
tests: Remove bridge dependency on unix
2021-09-28 16:45:06 +02:00
Piotr Tabor
3df2727746
Merge pull request #13343 from ardaguclu/use-ctlcontext-envmap
...
Decouple prefixArgs from os.Env dependency
2021-09-28 10:40:31 +02:00
Geeta Gharpure
817d2f40d1
storage/backend: Add a gauge to indicate if defrag is active
2021-09-27 17:02:13 -07:00
Piotr Tabor
752a206da4
Merge pull request #13238 from sakateka/etcdserver-logs
...
etcdserver: remove code duplication from the peer.send func
2021-09-27 09:01:34 +02:00
Sergey Kacheev
b272b98b79
netutil: make a raw
URL comparison part of the urlsEqual function
2021-09-26 13:58:21 +07:00
Piotr Tabor
ca5bad0e83
Merge pull request #13261 from njhill/sorting
...
etcdserver,clientv3: server-side ignore sort-ascend-key for range reqs
2021-09-25 17:47:10 +02:00
Piotr Tabor
183cc52bc3
Merge pull request #13230 from serathius/storage
...
Move storage bootstrap to its package
2021-09-25 17:34:30 +02:00
Sahdev Zala
5103e9d085
Merge pull request #13366 from lx1036/patch-1
...
mvcc: simplify watchable_store addVictim code
2021-09-24 21:25:07 -04:00
Sunny Liu
e7a09db019
mvcc: simplify watchable_store addVictim code
2021-09-24 17:49:03 +08:00
Arda Güçlü
3c6e09f932
Handle empty log-format gracefully
2021-09-23 08:17:29 +03:00