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
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
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
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
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