21205 Commits

Author SHA1 Message Date
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
James Blair
2e44ff7bc9
Merge pull request #17643 from etcd-io/dependabot/github_actions/github/codeql-action-3.24.9
build(deps): bump github/codeql-action from 3.24.8 to 3.24.9
2024-03-26 17:14:25 +01:00
Benjamin Wang
2470db7452
Merge pull request #17651 from ivanvc/address-tests-framework-var-naming-lint-rule
tests/framework: address golangci var-naming issues
2024-03-26 11:49:14 +00:00
Wei Fu
d3bb6f688b *: LeaseTimeToLive returns error if leader changed
The old leader demotes lessor and all the leases' expire time will be
updated. Instead of returning incorrect remaining TTL, we should return
errors to force client retry.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-03-26 18:55:01 +08:00
Jes Cok
f3daf5e041 all: make regexp.Regexp variables global when not using configuration methods
As the doc of regexp.Regex is saying:

"A Regexp is safe for concurrent use by multiple goroutines, except for configuration
methods, such as Regexp.Longest."

Signed-off-by: Jes Cok <xigua67damn@gmail.com>
2024-03-26 18:49:50 +08:00
Qiuyu Wu
97efc2ade4 feat: observe wal write at one time
Signed-off-by: Qiuyu Wu <qiuyu.wu@shopee.com>
2024-03-26 17:26:02 +08:00
Ivan Valdes
0976398964
tests/robustness: address golangci var-naming issues
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-25 16:27:05 -07:00
Ivan Valdes
b7488d4355
tests/framework: address golangci var-naming issues
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-25 16:20:18 -07:00
Ivan Valdes
139d9c28bd
dependency: bump github.com/prometheus/common from 0.50.0 to 0.51.1
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-25 14:42:13 -07:00
Ivan Valdes
860c6e03fc
dependency: bump github.com/mikefarah/yq/v4 from 4.40.7 to 4.43.1
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-25 14:40:32 -07:00
Ivan Valdes
55f9a963bf
dependency: bump github.com/cloudflare/cfssl from 1.6.4 to 1.6.5
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-25 14:34:52 -07:00
dependabot[bot]
938e1fbc6f
build(deps): bump github/codeql-action from 3.24.8 to 3.24.9
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.8 to 3.24.9.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](05963f47d8...1b1aada464)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-25 17:19:50 +00:00
Benjamin Wang
e4448c4744
Merge pull request #17634 from callthingsoff/httpresponse_close_after_read
all: call Close() after reading http.Response.Body
2024-03-25 07:03:54 +00:00
Benjamin Wang
7f9011a217
Merge pull request #17640 from thirdkeyword/main
fix some typos
2024-03-25 07:03:41 +00:00
Jes Cok
bc31162cc2 all: call Close() after reading http.Response.Body
As the doc of http.Response.Body says:

// The http Client and Transport guarantee that Body is always
// non-nil, even on responses without a body or responses with
// a zero-length body. It is the caller's responsibility to
// close Body.

Signed-off-by: Jes Cok <xigua67damn@gmail.com>
2024-03-25 12:17:47 +08:00
thirdkeyword
fbda591866 fix some typos
Signed-off-by: thirdkeyword <fliterdashen@gmail.com>
2024-03-25 10:34:44 +08:00
Marek Siarkowicz
b643f1b1fe
Merge pull request #17562 from serathius/benchmark-put-latency
Improve watch latency benchmark
2024-03-24 21:49:14 +01:00
Marek Siarkowicz
49fbcd0d9b
Merge pull request #17584 from ivanvc/address-pkg-var-naming-lint-rule
pkg: address golangci var-naming issues
2024-03-24 18:49:22 +01:00
Benjamin Wang
5a53a708d8
Merge pull request #17588 from ah8ad3/fix-flaky-jwt
flaky: fix jwt test with increasing ttl
2024-03-24 16:48:49 +00:00
Benjamin Wang
671dabc21f
Merge pull request #17595 from jmhbnz/investigate-arm64-robustness-performance
Investigate arm64 robustness performance
2024-03-24 16:47:56 +00:00
Benjamin Wang
e24baa4fd8
Merge pull request #17600 from etcd-io/dependabot/docker/distroless/static-debian12-6dcc833df2a475be1a3d7fc951de90ac91a2cb0be237c7578b88722e48f2e56f
build(deps): bump distroless/static-debian12 from `0d6ada5` to `6dcc833`
2024-03-24 16:46:54 +00:00
Benjamin Wang
1348062c23
Merge pull request #17635 from ivanvc/address-tests-var-naming-lint-rule
tests/common, tests/integration: Address tests var-naming lint rule
2024-03-24 15:57:52 +00:00
Benjamin Wang
e5d633f361
Merge pull request #17636 from ivanvc/address-tests-e2e-var-naming-lint-rule
tests/e2e: address golangci var-naming issues
2024-03-24 15:57:12 +00:00
Ivan Valdes
9ac4f33be4
tests/e2e: address golangci var-naming issues
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-21 16:03:48 -07:00
Benjamin Wang
9359aef3e3
Merge pull request #17620 from jmhbnz/weekly-dependency-update
[2023-03-18] Weekly dependency update
2024-03-21 14:24:45 +01:00
Benjamin Wang
ef0c12fab4
Merge pull request #17624 from ivanvc/address-server-var-naming-lint-rule
server: address golangci var-naming issues
2024-03-21 13:54:04 +01:00
James Blair
7b7e2e29da
dependency: bump go.uber.org/zap from 1.26.0 to 1.27.0.
Signed-off-by: James Blair <mail@jamesblair.net>
2024-03-22 01:41:57 +13:00
James Blair
5568f170de
dependency: bump github.com/golangci/golangci-lint from 1.55.2 to 1.57.1.
Signed-off-by: James Blair <mail@jamesblair.net>
2024-03-22 01:35:48 +13:00
James Blair
0cf5da62c9
dependency: bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.48.0 to 0.49.0.
Signed-off-by: James Blair <mail@jamesblair.net>
2024-03-22 01:22:58 +13:00
Benjamin Wang
3a9561aefe
Merge pull request #17632 from jmhbnz/update-changelog
Update date of v3.4.31 release.
2024-03-21 12:49:15 +01:00
James Blair
ebbd235826
Update date of v3.4.31 release.
Signed-off-by: James Blair <mail@jamesblair.net>
2024-03-21 20:52:21 +13:00
Marek Siarkowicz
b2e15d6121
Merge pull request #17613 from liangyuanpeng/autoupdate_docker_release
Let dapendabot to auto-update docker for release 3.4&3.5.
2024-03-21 08:27:58 +01:00
Ivan Valdes
4898908268
tests/integration: address golangci var-naming issues
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-20 22:31:31 -07:00
Ivan Valdes
aeecfa00b4
tests/common: address golangci var-naming issues
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-20 22:24:52 -07:00
Ivan Valdes
66f56d71e4
server: address golangci var-naming issues
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-20 21:12:12 -07:00