21146 Commits

Author SHA1 Message Date
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
Benjamin Wang
6f55dfa26e
Merge pull request #17617 from chaochn47/main-update-changelog
update 3.4 and 3.5 CHANGELOG of watch event loss after compaction fix
2024-03-20 08:13:21 +01:00
Chao Chen
ec9b3f375f update 3.4 and 3.5 CHANGELOG of watch event loss after compaction fix
Signed-off-by: Chao Chen <chaochn@amazon.com>
2024-03-19 18:23:40 -07:00
Lan
5620268283 Let dapendabot to auto-update docker for release 3.4&3.5.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-03-20 08:34:21 +08:00
Benjamin Wang
97029d768a
Merge pull request #17614 from ivanvc/address-etcdserver-var-naming-lint-rule
etcdserver: address var naming lint rule
2024-03-19 22:40:03 +01:00
Ivan Valdes
14523bdc21
etcdserver: rename MemberId() to MemberID() to address var-naming
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-18 17:18:29 -07:00
Ivan Valdes
c613b78e6c
etcdserver: address golangci var-naming issues
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-18 17:17:07 -07:00
Benjamin Wang
3191002c6d
Merge pull request #17599 from etcd-io/dependabot/github_actions/github/codeql-action-3.24.8
build(deps): bump github/codeql-action from 3.24.6 to 3.24.8
2024-03-18 19:36:44 +00:00
Benjamin Wang
2e101a8926
Merge pull request #17597 from jmhbnz/update-docs-for-meeting-rotation
Update community meeting docs to cover lead rotation
2024-03-18 19:06:00 +00:00
James Blair
0ffdc08197
Refresh community meeting docs
Use new short url for etcd YouTube Channel.
Add link for meeting lead rotation worksheet.

Signed-off-by: James Blair <mail@jamesblair.net>
2024-03-19 06:48:54 +13:00