21089 Commits

Author SHA1 Message Date
Benjamin Wang
68673d4bfd
Merge pull request #17706 from henrybear327/changelog/release-3.5-mu-context-init
Update CHANGELOG 3.4 and 3.5 - initialization for epMu/mu in client context
2024-04-05 10:29:16 +01:00
Chun-Hung Tseng
6f8cac308b
Update CHANGELOG 3.4 and 3.5 - initialization for epMu/mu in client context
Reference:
- 3.4: PR #17714
- 3.5: PR #17699

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-04-04 21:03:44 +02:00
Benjamin Wang
bdbf8a2b6b
Merge pull request #17707 from henrybear327/cve/3.6-bump-go-1.22.2
Bump go-version to 1.22.2 for release-3.6 due to CVE-2023-45288
2024-04-04 15:02:17 +01:00
Chun-Hung Tseng
034574f439
Bump go toolchain version to address CVE-2023-45288
Changes:
- Bump release-3.6 toolchain version to 1.22.2 due to CVE-2023-45288
- Bump golang.org/x/net to v0.23.0
- Update CHANGELOG-3.4, CHANGELOG-3.5, and CHANGELOG-3.6
- Bump go version in rw-heatmaps (which was still at 1.21 where
everything else is at 1.22)

Reference:
- PR #17703

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-04-04 11:06:37 +02:00
Benjamin Wang
984903b16e
Merge pull request #17679 from ArkaSaha30/trivy-scan-head
Add trivy scan action for current branch HEAD
2024-04-04 08:36:13 +01:00
Benjamin Wang
24f5f0659e
Merge pull request #17701 from idnandre/fix-deprecated-error
server/storage: change deprecated bolt error to new error package
2024-04-04 08:30:54 +01:00
James Blair
7b85a7bc70
Merge pull request #17698 from sheyt0/update-changelog-for-17641-17692
changelog: add requests retry when receiving ErrGPRCNotSupportedForLearner
2024-04-04 06:07:34 +02:00
James Blair
557e7f09df
Merge pull request #17700 from imalasong/pr/3
Makefile: perfect .PHONY
2024-04-03 19:39:21 +02:00
idnandre
12fa1bb940 server/storage: change deprecated bolt error to new error package
Signed-off-by: idnandre <andre@idntimes.com>
2024-04-03 19:21:22 +07:00
imalasong
daf893da61 Makefile: perfect .PHONY
Signed-off-by: xiaochangbai <704566072@qq.com>
2024-04-03 16:14:34 +08:00
Ilya Baev
156096a66b changelog: add requests retry when receiving ErrGPRCNotSupportedForLearner
Signed-off-by: Ilya Baev <ilya.baev@gcore.com>
2024-04-03 06:11:44 +00:00
James Blair
547aa643e6
Merge pull request #17694 from henrybear327/fix/golangci-config-run-skip-files
Replace run.skip-files with issues.exclude-files in golangci config
2024-04-03 00:30:42 +02:00
Chun-Hung Tseng
f6eda94579
Replace run.skip-files with issues.exclude-files in golangci config
Address the warning "The configuration option `run.skip-files` is
deprecated, please use `issues.exclude-files`."

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-04-02 22:16:01 +02:00
Benjamin Wang
a08812eb01
Merge pull request #17677 from jmhbnz/fix-release-issues
Fix release git url & document lessons learned
2024-04-02 15:40:26 +01:00
ArkaSaha30
4e639e7e9b
Add trivy scan as a job in release workflow
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-04-02 19:09:08 +05:30
Marek Siarkowicz
09769c4be7
Merge pull request #17642 from fuweid/fix-17506
*: LeaseTimeToLive returns error if leader changed
2024-04-02 14:55:41 +02:00
Marek Siarkowicz
dceb16ca4d
Merge pull request #17691 from ivanvc/ignore-e2e-discovery-test-with-cluster-proxy-tag
tests/e2e: ignore discovery tests when cluster_proxy tag is set
2024-04-02 14:36:16 +02:00
Marek Siarkowicz
f611da66d8
Merge pull request #17675 from callthingsoff/simplify_testutil_assert
client/pkg/testutil: eliminate copyToInterface function
2024-04-02 09:44:01 +02:00
James Blair
b680e24eb3
Merge pull request #17690 from flawedmatrix/fix-trailing-whitespace-in-help
nit: Fix trailing whitespace in etcdmain/help.go
2024-04-02 09:13:32 +02:00
Ivan Valdes
a23507080a
tests/e2e: ignore discovery tests when cluster_proxy tag is set
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-04-01 21:57:11 -07:00
Edwin Xie
fc8568a435 nit: Fix trailing whitespace in etcdmain/help.go
Signed-off-by: Edwin Xie <edwin.xie@broadcom.com>
2024-04-01 22:25:05 +00:00
James Blair
e513b1a6b7
Merge pull request #17682 from etcd-io/dependabot/docker/distroless/static-debian12-8cbe18a8a9a9fefe70590dc8f6a7bc70b4bbe41f262d9dab9084337adabf6d26
build(deps): bump distroless/static-debian12 from `6dcc833` to `8cbe18a`
2024-04-01 20:24:02 +02:00
dependabot[bot]
5f5fddf506
build(deps): bump distroless/static-debian12 from 6dcc833 to 8cbe18a
Bumps distroless/static-debian12 from `6dcc833` to `8cbe18a`.

---
updated-dependencies:
- dependency-name: distroless/static-debian12
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-01 17:18:45 +00:00
ArkaSaha30
caa523f296
Fix yamllint
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-04-01 18:36:27 +05:30
ArkaSaha30
bdc261a583
Add trivy scan action for current branch HEAD
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-04-01 18:27:02 +05:30
Benjamin Wang
1f8cb28f23
Merge pull request #17678 from new-dream/changelog3.5
changelog: change livez/readyz HTTP endpoints to v3.5.11
2024-04-01 12:31:47 +01:00
Benjamin Wang
5c8a0780f9
Merge pull request #17676 from callthingsoff/refactor_testutil_interestingGoroutines
client/pkg/testutil: add shouldSkip func for interestingGoroutines
2024-04-01 11:44:37 +01:00
new-dream
5766aaf245 changelog: change livez/readyz HTTP endpoints to v3.5.11
Signed-off-by: new-dream <111836360+new-dream@users.noreply.github.com>
2024-04-01 16:19:08 +08:00
James Blair
a9e4e2a240
Improve release documentation.
Capturing lessons learned from etcd 3.5.13 release.

Signed-off-by: James Blair <mail@jamesblair.net>
2024-04-01 08:03:53 +13:00
Benjamin Wang
cc32fa8559
Merge pull request #17618 from Akiqqqqqqq/feature-wal-write-metric
feat: add wal write system call metrics observation (main)
2024-03-31 16:54:20 +01:00
Jes Cok
06b50370fa client/pkg/testutil: add shouldSkip func for interestingGoroutines
interestingGoroutines uses so many strings.Contains checks to determine
whether to continue, I think it can be avoided.

This patch introduces shouldSkip func to do the checks in a loop
to make the logic clearer.

Signed-off-by: Jes Cok <xigua67damn@gmail.com>
2024-03-31 23:37:30 +08:00
James Blair
b82f882c3d
Update release script to use ssh.
From 2021-08-13, GitHub is no longer accepting account passwords when authenticating Git operations. You need to add a PAT (Personal Access Token) instead for HTTPS. We should intead keep things simple and just use ssh to push to GitHub.

Signed-off-by: James Blair <mail@jamesblair.net>
2024-03-31 10:09:51 +13:00
Jes Cok
229ceb3a73 client/pkg/testutil: eliminate copyToInterface function
AssertTrue and AssertFalse use copyToInterface to copy msg. This is
unnecessary, cause we know the msgAndArgs param of assert.Equal is
variadic:
func Equal(t TestingT, expected, actual interface{}, msgAndArgs ...interface{}) bool

This patch removes copyToInterface function, and use msg directly.

Signed-off-by: Jes Cok <xigua67damn@gmail.com>
2024-03-30 23:59:07 +08:00
Benjamin Wang
caca5159f2
Merge pull request #17672 from jmhbnz/update-release-date
Update release date for v3.5.13.
2024-03-30 07:16:03 +00:00
James Blair
747cc7bd7e
Update release date for v3.5.13.
Signed-off-by: James Blair <mail@jamesblair.net>
2024-03-30 08:49:49 +13:00
Marek Siarkowicz
a25497e97d
Merge pull request #17660 from ivanvc/address-server-storage-var-naming-lint-rule
server/storage: address golangci var-naming issues
2024-03-29 10:02:25 +01:00
Benjamin Wang
76f21a1f9d
Merge pull request #17664 from siyuanfoundation/txBuf1
add 3.4 changelog of adding downgrade support.
2024-03-29 07:10:22 +00:00
Siyuan Zhang
fa2c652b1b add 3.4 changelog of adding downgrade support.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-03-28 15:13:50 -07:00
Marek Siarkowicz
a22ae624ef
Merge pull request #17263 from siyuanfoundation/txBuf1
Fix tx buffer inconsistency if there are unordered key writes in one tx.
2024-03-28 12:08:18 +01:00
Benjamin Wang
4af78d4cc5
Merge pull request #17659 from ivanvc/remove-yq-from-tools-mod
tools/mod: remove reference to github.com/mikefarah/yq/v4
2024-03-27 20:22:24 +00:00
Ivan Valdes
0d832ec19b
tools/mod: remove reference to github.com/mikefarah/yq/v4
`yq` was a tool initially used to get the project's Go version when it
was running on Travis CI. This was removed at the commit
577c898feea768e20b9f3c26357abc15b22a3ff3, and the project currently uses
`.go-version` to specify the Go version. Therefore, we can safely delete
this dependency.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-27 10:26:40 -07:00
Ivan Valdes
d43738a49b
server/storage: address golangci var-naming issues
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-27 10:12:42 -07:00
Siyuan Zhang
0a54362cca add key dedupe when a write buffer writeback to an empty read buffer bucket.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-03-27 17:03:31 +00:00
Siyuan Zhang
7be3606841 Add tx buffer test case of unordered key writes.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-03-27 17:03:31 +00:00
Siyuan Zhang
4346a43cee Add benchmark tests for buffer writeback function.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-03-27 17:03:26 +00:00
Benjamin Wang
f1836fca99
Merge pull request #17652 from callthingsoff/make_Regexp_global
all: make regexp.Regexp variables global when not using configuration…
2024-03-27 16:52:05 +00:00
Benjamin Wang
647b7eb8f6
Merge pull request #17650 from ivanvc/20240325-dependency-updates
[2024-03-25] Bump dependencies identified by dependabot
2024-03-27 16:46:23 +00:00
Marek Siarkowicz
0c46698420
Merge pull request #17655 from ivanvc/address-tests-framework-remove-member-grpcurl-function-var-naming-lint-rule
tests/framework: address golangci var-naming issues [remove (*Member) GRPCURL()]
2024-03-27 09:18:34 +01:00
Marek Siarkowicz
14f24081b6
Merge pull request #17654 from ivanvc/address-tests-robustness-var-naming-lint-rule
tests/robustness: address golangci var-naming issues
2024-03-27 09:17:31 +01:00
Ivan Valdes
8fb26a2c4e
tests/framework: remove (*Member) GRPCURL()
Currenly Member exports GrpcURL already as a struct variable. However,
when addressing the var-naming linting issues, renaming it from GrpcURL
to GRPCURL, clashes with the GRPCURL() function.

Given that it's already an exported variable, there's no need to define
a getter function. The use of this variable is also mixed, with calls to
both the exported variable (GrpcURL) and the function [GRPCURL()].

Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-26 16:04:12 -07:00