王霄霄
d78f6f7f14
Backport #14591 to 3.5.
...
Signed-off-by: 王霄霄 <1141195807@qq.com>
2022-10-16 18:52:57 +08:00
Marek Siarkowicz
fed325a95a
Merge pull request #13832 from mrueg/rel-3.5-go-1.16.15
...
[release-3.5] Update go to 1.16.15
2022-03-23 11:30:20 +01:00
Manuel Rüger
c51c8d24e1
Build locally if docker-test container image does not exist
...
This should make it easier to bump the golang version
2022-03-22 00:03:57 +01:00
Manuel Rüger
1801ef8d71
Update to go 1.16.15
2022-03-22 00:00:22 +01:00
Marek Siarkowicz
d5161347da
Merge pull request #13792 from kkkkun/fix-offline-defrag
...
Fix offline defrag in etcdctl
2022-03-17 11:22:13 +01:00
kkkkun
58374b83a1
Fix offline defrag
2022-03-13 21:17:59 +08:00
Marek Siarkowicz
39baf36ca3
Merge pull request #13726 from chaochn47/backport_13676_to_3_5
...
backport 3.5: #13676 load all leases from backend
2022-03-08 10:40:28 +01:00
Marek Siarkowicz
541635e36a
Merge pull request #13701 from lavacat/defrag-bopts-fix-3.5
...
server/storage/backend: restore original bolt db options after defrag
2022-03-08 10:38:31 +01:00
Piotr Tabor
3c2ef71358
Merge pull request #13727 from ahrtr/3.5_print_raft_term_in_decimal
...
[3.5] Always print raft term in decimal when displaying member list in json
2022-02-25 08:59:52 +01:00
Piotr Tabor
1eb8b6a75c
Merge pull request #13736 from vivekpatani/release-3.5
...
*: fix IsOptsWithFromKey
2022-02-24 22:50:27 +01:00
leoyang.yl
7cec92a281
*: fix IsOptsWithFromKey
...
porting back from 3.5 from main
PR #13334
2022-02-23 16:42:00 -08:00
Chao Chen
f634b44046
backport 3.5: #13676 load all leases from backend
2022-02-22 10:21:04 -08:00
ahrtr
7345d4211b
always print raft_term in decimal when displaying member list in json
2022-02-22 17:09:21 +08:00
Marek Siarkowicz
fa191c64bd
Merge pull request #13706 from ahrtr/3.5-serializable_health_check
...
[3.5] enhance health check endpoint to support serializable request
2022-02-21 21:59:58 +01:00
Marek Siarkowicz
31c8e3c7a5
Merge pull request #13714 from ahrtr/3.5_correct_dns_etcd_client
...
[3.5] Trim the suffix dot from the srv.Target for etcd-client DNS lookup
2022-02-20 13:34:09 +01:00
ahrtr
4f51cc1d9a
trim the suffix dot from the srv.Target for etcd-client DNS lookup
2022-02-19 05:55:19 +08:00
ahrtr
7db1051774
enhance health check endpoint to support serializable request
2022-02-17 15:03:22 +08:00
Bogdan Kanivets
631fa6fd65
server/storage/backend: restore original bolt db options after defrag
...
Problem: Defrag was implemented before custom bolt options were added.
Currently defrag doesn't restore backend options.
For example BackendFreelistType will be unset after defrag.
Solution: save bolt db options and use them in defrag.
2022-02-15 10:56:07 -08:00
Marek Siarkowicz
99018a77be
version: bump up to 3.5.2
v3.5.2
tests/v3.5.2
etcdctl/v3.5.2
etcdutl/v3.5.2
server/v3.5.2
client/v3.5.2
client/v2.305.2
client/pkg/v3.5.2
raft/v3.5.2
pkg/v3.5.2
api/v3.5.2
2022-02-01 12:28:34 +01:00
Piotr Tabor
a624446907
Merge pull request #13616 from ptabor/20220117-update-yaml
...
Update dep: gopkg.in/yaml.v2 v2.2.8 -> v2.4.0 due to: CVE-2019-11254 [release 3.5]
2022-01-17 20:07:16 +01:00
Piotr Tabor
74f33d6665
Update dep: require gopkg.in/yaml.v2 v2.2.8 -> v2.4.0 due to: CVE-2019-11254.
2022-01-17 17:10:50 +01:00
Piotr Tabor
7291ed3c4a
Merge pull request #13541 from michaljasionowski/backport-runlock-fix
...
Backport watchablestore runlock bug fix to release-3.5
2021-12-21 11:03:31 +01:00
leoyang.yl
55c16df997
fix runlock bug
2021-12-16 15:58:41 +00:00
Piotr Tabor
73080a7166
Merge pull request #13501 from ahrtr/reset_ci_after_reload_db_3.5
...
[3.5] Set the backend again after recovering v3 backend from snapshot
2021-12-06 13:22:22 +01:00
Piotr Tabor
e84c61104c
Merge pull request #13515 from serathius/checkpoints-fix-3.5
...
Backport Lease Checkpoints fix to release-3.5
2021-12-03 12:21:02 +01:00
Marek Siarkowicz
d00e89db2e
server: Require either cluster version v3.6 or --experimental-enable-lease-checkpoint-persist to persist lease remainingTTL
...
To avoid inconsistant behavior during cluster upgrade we are feature
gating persistance behind cluster version. This should ensure that
all cluster members are upgraded to v3.6 before changing behavior.
To allow backporting this fix to v3.5 we are also introducing flag
--experimental-enable-lease-checkpoint-persist that will allow for
smooth upgrade in v3.5 clusters with this feature enabled.
2021-12-02 16:54:10 +01:00
Michał Jasionowski
eddfb4232f
etcdserver,integration: Store remaining TTL on checkpoint
...
To extend lease checkpointing mechanism to cases when the whole etcd
cluster is restarted.
2021-12-02 16:42:20 +01:00
Michał Jasionowski
21634a98c6
lease,integration: add checkpoint scheduling after leader change
...
Current checkpointing mechanism is buggy. New checkpoints for any lease
are scheduled only until the first leader change. Added fix for that
and a test that will check it.
2021-12-02 16:40:14 +01:00
ahrtr
8c81598455
set the backend again after recovering v3 backend from snapshot
2021-11-25 05:45:20 +08:00
Sam Batschelet
eac7f98699
Merge pull request #13477 from mitake/backport-13308-to-3.5
...
Backport PR 13308 to release-3.5
2021-11-21 14:45:15 -05:00
Hitoshi Mitake
dec6f72d68
*: implement a retry logic for auth old revision in the client
2021-11-15 00:09:16 +09:00
Ashish Ranjan
79bbc8fdb7
client/v3: refresh the token when ErrUserEmpty is received while retrying
...
To fix a bug in the retry logic caused when the auth token is cleared after receiving `ErrInvalidAuthToken` from the server and the subsequent call to `getToken` also fails due to some reason (eg. context deadline exceeded).
This leaves the client without a token and the retry will continue to fail with `ErrUserEmpty` unless the token is refreshed.
2021-11-15 00:09:09 +09:00
Sam Batschelet
77d760bf1b
Merge pull request #13476 from chaochn47/backport-release-3.5
...
cherry-pick to 3.5 from #13467 exclude the same alarm type activated by multiple peers
2021-11-13 22:10:19 -05:00
Chao Chen
7d44a7cd6e
server/etcdserver/api/etcdhttp: exclude the same alarm type activated by multiple peers
2021-11-12 14:21:14 -08:00
Piotr Tabor
e8732fb5f3
Merge pull request #13395 from geetasg/release-3.5
...
storage/backend: Add a gauge to indicate if defrag is active (backport)
2021-10-07 18:16:21 +02:00
Geeta Gharpure
446f7d6b6e
storage/backend: Add a gauge to indicate if defrag is active (backport from 3.6)
2021-10-06 11:01:31 -07:00
Sam Batschelet
d42e8589e1
version: 3.5.1
...
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
v3.5.1
tests/v3.5.1
etcdctl/v3.5.1
etcdutl/v3.5.1
server/v3.5.1
client/v3.5.1
client/v2.305.1
client/pkg/v3.5.1
raft/v3.5.1
pkg/v3.5.1
api/v3.5.1
2021-10-03 11:47:37 -04:00
Sam Batschelet
ec562294f7
Merge pull request #13380 from hexfusion/cp-13376
...
[release-3.5] Dockerfile: bump debian bullseye-20210927
2021-10-01 13:23:50 -04:00
Sam Batschelet
bad9a52c4c
Dockerfile: bump debian bullseye-20210927
...
fixes: CVE-2021-3711, CVE-2021-35942, CVE-2019-9893
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
2021-10-01 12:48:57 -04:00
Piotr Tabor
edb3b5a794
Merge pull request #13375 from serathius/authority-3.5
...
Cherry pick "Fix http2 authority header in single endpoint scenario" to release-3.5
2021-09-30 13:56:33 +02:00
Marek Siarkowicz
79f9a45574
client: Use first endpoint as http2 authority header
2021-09-30 12:15:33 +02:00
Marek Siarkowicz
7f25a500e3
tests: Add grpc authority e2e tests
2021-09-30 12:15:33 +02:00
Marek Siarkowicz
58d2b12a50
client: Add grpc authority header integration tests
2021-09-30 12:15:32 +02:00
Marek Siarkowicz
6e04e8ae42
tests: Allow configuring integration tests to use TCP
2021-09-30 12:05:25 +02:00
Marek Siarkowicz
7272a9585d
test: Use unique number for grpc port
2021-09-30 12:05:15 +02:00
Marek Siarkowicz
0bac49bda4
tests: Cleanup member interface by exposing Bridge directly
2021-09-30 12:05:10 +02:00
Marek Siarkowicz
f324894e8f
tests: Make using bridge optional
2021-09-30 12:05:04 +02:00
Marek Siarkowicz
994bd08723
tests: Rename grpcAddr to grpcURL to imply that it includes schema
2021-09-30 12:04:57 +02:00
Marek Siarkowicz
c1f48d8077
tests: Remove bridge dependency on unix
2021-09-30 12:04:50 +02:00
Arda Güçlü
6e2fe84ebd
Decouple prefixArgs from os.Env dependency
...
prefixArgs uses os.Setenv in e2e tests instead envMap.
This creates overwrites in some test cases and have an impact
on test quality and isolation between tests.
This PR uses ctlcontext envMap in each tests with high priority
and merges os environment variables with low priority.
2021-09-30 12:04:31 +02:00