Benjamin Wang
102193b92c
Merge pull request #18129 from ArkaSaha30/release-3.5-cve-2024-24790
...
[3.5]Bump Go version to 1.21.11: CVE 2024-24790 fix
2024-06-05 10:37:31 +01:00
ArkaSaha30
a64ddefe00
Bump Go version to 1.21.11: CVE 2024-24790 fix
...
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-06-05 13:48:25 +05:30
Marek Siarkowicz
0362da29c6
Merge pull request #18105 from ivanvc/release-3.5-scripts-release-shallow-clone
...
[3.5] scripts/release: shallow clone repository
2024-06-01 07:20:50 +02:00
Ivan Valdes
dcbcb3afc5
scripts/release: shallow clone repository
...
Backport of commit 4881e53677f6cb592aa1cf7ee15bfd51e6cf1ff9 / pull
request #18095 .
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-05-31 15:36:00 -07:00
James Blair
58859eb2de
Merge pull request #18104 from jmhbnz/remove-asset-transparency
...
[3.5] Backport removal of asset transparency workflow
2024-05-31 21:37:49 +12:00
James Blair
a3ba7e2c36
Backport removal of asset transparency workflow.
...
The service at https://beta.transparencylog.net/ has already been
shutdown on November 9th 2021 and the workflow has failed ever since.
Signed-off-by: James Blair <mail@jamesblair.net>
2024-05-31 20:25:22 +12:00
James Blair
bf51a53a7e
version: bump up to 3.5.14
v3.5.14
tests/v3.5.14
etcdctl/v3.5.14
etcdutl/v3.5.14
server/v3.5.14
client/v3.5.14
client/v2.305.14
client/pkg/v3.5.14
raft/v3.5.14
pkg/v3.5.14
api/v3.5.14
2024-05-30 06:33:09 +12:00
Benjamin Wang
47c5fb845f
Merge pull request #18063 from ArkaSaha30/backport-config-support
...
[3.5] config: support AllowedCN and AllowedHostname through config file
2024-05-23 19:48:47 +01:00
Seena Fallah
8bc3271af4
config: support AllowedCN and AllowedHostname through config file
...
Allow setting AllowedCN and AllowedHostname tls fields through config file for peer transport security.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
2024-05-23 23:37:11 +05:30
Benjamin Wang
3afe949552
Merge pull request #18017 from MadhavJivrajani/go-version-setup-35
...
[release-3.5] Setup a way to consistently manage go versions across scripts and go.mods
2024-05-16 10:44:58 +01:00
Madhav Jivrajani
3c990bc43b
scripts: default to using .go-version's version for tests and builds
...
Additionally, provide ability to opt-out of the .go-version and use a
custom one via env vars: FORCE_HOST_GO and GO_VERSION.
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2024-05-16 14:45:48 +05:30
Madhav Jivrajani
474031588a
.*: sync go toolchain version and add ability to verify versions
...
This commit adds a script to sync the version present in .go-version
across all go.mod files as the toolchain directive. As part of that,
this commit also modifies go.mod files that did not have synced toolchain
directives.
Additionally, this also adds a script to verify all toolchain and go
directives against the version present in .go-version as follows:
(1) The go directive <= version in .go-version
(2) The toolchain directive == version in .go-version
This script runs as part of the `make verify` target, making it run
as a presbumit by default.
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2024-05-16 14:45:42 +05:30
Benjamin Wang
297130d002
Merge pull request #17980 from lavishpal/upgrade/go-to-1.21.10
...
[3.5] dependency : update the go v1.21.10
2024-05-10 19:57:51 +01:00
Lavish pal
f715ffd773
update the go v1.21.10
...
Signed-off-by: Lavish pal <lvishpal408@gmail.com>
2024-05-10 18:25:42 +05:30
Marek Siarkowicz
8f6d2dc403
Merge pull request #17977 from ivanvc/release-3.5-backport-etcdutl-memory-allocation-issue
...
[3.5] backport etcdutl memory allocation issue
2024-05-10 10:50:23 +02:00
Ivan Valdes
9e1dadd748
etcdutl: Fix snapshot restore memory alloc issue
...
When running the snapshot command, allow receiving an initial memory map
allocation for the database, avoiding future memory allocation issues.
Backports commit: be2883321240340479f9e334bc4a3b2959ad7639 / PR: #17277
Co-authored-by: Fatih USTA <fatihusta86@gmail.com>
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-05-09 21:41:23 -04:00
Ivan Valdes
6abc349dc9
server: Implement WithMmapSize option for backend config
...
Accept a third argument for NewDefaultBackend for overrides to the
BackendConfig.
Add a new function, WithMmapSize, which modifies the backend config to
provide a custom InitiamMmapSize.
Backports commit: d69adf45f9e95661966204460f019b8164aaef12 / PR: #17277
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-05-09 21:41:16 -04:00
Marek Siarkowicz
0f0af63eaa
Merge pull request #17914 from tjungblu/backport_35_grpc_defragserv
...
[3.5] gRPC health server sets serving status to NOT_SERVING on defrag
2024-05-07 09:14:05 +02:00
Benjamin Wang
f2cbef2379
Merge pull request #17931 from siyuanfoundation/3.5-downgrade-test
...
[3.5] Backport cluster downgrade test.
2024-05-06 19:47:56 +01:00
Siyuan Zhang
99a64341f2
Add cluster downgrade test.
...
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-05-06 10:31:18 -07:00
Benjamin Wang
a5cf8419bc
Merge pull request #17943 from tjungblu/bboltbump_1.3.10
...
Bump bbolt to 1.3.10 for 3.5
2024-05-06 11:53:27 +01:00
Thomas Jungblut
a5eec4d78d
Bump bbolt to 1.3.10 for 3.5
...
Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
2024-05-06 12:02:49 +02:00
Thomas Jungblut
cee181d1ab
v3rpc: run health notifier to listen on online defrag state change
...
Backport from 3.6 in #16836
Co-authored-by: Chao Chen <chaochn@amazon.com>
Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
2024-05-06 10:03:08 +02:00
James Blair
2c7f6d6b08
Merge pull request #17920 from etcd-io/dependabot/docker/release-3.5/distroless/static-debian11-6d31326376a7834b106f281b04f67b5d015c31732f594930f2ea81365f99d60c
...
build(deps): bump distroless/static-debian11 from `046b92c` to `6d31326`
2024-05-03 05:34:03 +12:00
dependabot[bot]
22ca6151c6
build(deps): bump distroless/static-debian11 from 046b92c
to 6d31326
...
Bumps distroless/static-debian11 from `046b92c` to `6d31326`.
---
updated-dependencies:
- dependency-name: distroless/static-debian11
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-01 17:26:02 +00:00
Thomas Jungblut
750bc0b1e4
gRPC health server sets serving status to NOT_SERVING on defrag
...
gRPC health server sets serving status to NOT_SERVING on defrag
Backport from 3.6 in #16278
Co-authored-by: Chao Chen <chaochn@amazon.com>
Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
2024-04-30 15:09:51 +02:00
Marek Siarkowicz
31a87cff37
Merge pull request #17888 from siyuanfoundation/3.5-downgrade-test
...
[3.5] add mix version test of adding last ver to current ver.
2024-04-30 09:10:09 +02:00
Siyuan Zhang
daec41c29e
e2e: add mix version test of adding last ver to current ver.
...
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-04-29 18:55:52 +00:00
Benjamin Wang
a7a8fb82c8
Merge pull request #17865 from fuweid/backport-17815-35
...
[3.5] fix revision loss issue caused by compaction - 17780
2024-04-24 09:50:15 +01:00
Wei Fu
0af22abc6c
server/mvcc: should update currentRev in revMu
...
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-04-24 12:28:20 +08:00
Wei Fu
c06b17b9ff
server/storage: update currentRev if scheduledCompact > currentRev
...
Signed-off-by: Wei Fu <fuweid89@gmail.com>
(cherry picked from commit 9ea234913a99670d18b66aa23915781f89713177)
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-04-24 12:25:19 +08:00
Wei Fu
7beff57107
tests/e2e: reproduce #17780
...
Signed-off-by: Wei Fu <fuweid89@gmail.com>
(cherry picked from commit 71733911544f8fce6d06d2a8e9cca0944b3659be)
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-04-24 12:23:33 +08:00
Wei Fu
6b034466aa
server/mvcc: introduce compactBeforeSetFinishedCompact failpoint
...
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-04-24 12:14:27 +08:00
Benjamin Wang
6dce9b2280
Merge pull request #17830 from ahrtr/3.5_update_compact_log_bootstrap_20240421
...
[3.5] Update the compaction log when bootstrap and update compact's signature
2024-04-23 09:50:39 +01:00
Benjamin Wang
adf1c3f291
Update the compaction log when bootstrap and update compact's signature
...
Actually the compact() never return an error, so remove the second return
parameter.
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-04-21 13:17:07 +01:00
Marek Siarkowicz
91e9dd33e4
Merge pull request #17808 from siyuanfoundation/3.5-downgrade-test
...
[3.5] add experimental-snapshot-catchup-entries flag
2024-04-19 08:31:13 +02:00
Siyuan Zhang
c391d69b08
test: add checking snapshot be sent in mix_version_test.
...
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-04-18 19:08:05 +00:00
Benjamin Wang
692c2d2e5f
Merge pull request #17813 from henrybear327/backport-3.5/ignore-raft-messages-if-member-id-mismatch
...
[backport-3.5] server: ignore raft messages if member id mismatch
2024-04-18 13:27:21 +01:00
Chun-Hung Tseng
9331ee32e1
[backport-3.5] server: ignore raft messages if member id mismatch #17078
...
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-04-17 13:50:23 +02:00
Siyuan Zhang
464df4a979
add experimental-snapshot-catchup-entries flag.
...
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-04-15 17:04:44 -07:00
Marek Siarkowicz
dad2bab048
Merge pull request #17531 from siyuanfoundation/3.5-downgrade-test
...
[3.5] backport mix version e2e test.
2024-04-10 18:38:27 +02:00
Siyuan Zhang
c06ec72230
test: add mix version e2e test.
...
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-04-08 21:37:06 +00:00
Benjamin Wang
10e469e03f
Merge pull request #17732 from jmhbnz/fix-release-script
...
[3.5] Backport release script fixes
2024-04-08 22:06:36 +01:00
Benjamin Wang
b671991c9b
Merge pull request #17616 from Akiqqqqqqq/feature-wal-write-metrics
...
[3.5] feat: add wal write system call metrics observation
2024-04-08 08:26:44 +01:00
Marek Siarkowicz
4ffa5c5dc4
Merge pull request #17619 from liangyuanpeng/approve_ghaction_3.5
...
[3.5] Add approvals gh workflows.
2024-04-07 09:41:14 +02:00
Qiuyu Wu
51f3134355
feat: observe wal write at one time
...
Signed-off-by: Qiuyu Wu <qiuyu.wu@shopee.com>
2024-04-06 22:58:32 +08:00
Lan Liang
b6df59cba4
Add approvals gh workflows.
...
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-04-06 14:40:05 +00:00
Benjamin Wang
7f18f3078b
Merge pull request #17716 from ArkaSaha30/trivy-scan-head-3.5
...
[3.5]Add trivy scan for current branch HEAD
2024-04-06 13:32:12 +01:00
Benjamin Wang
86d9874d70
Merge pull request #17704 from fuweid/35-cp-17462
...
[3.5] *: LeaseTimeToLive returns error if leader changed
2024-04-05 08:58:04 +01:00
ArkaSaha30
1404f5aabd
[3.5]Add trivy scan as a job in release workflow
...
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-04-05 01:08:21 +05:30