20041 Commits

Author SHA1 Message Date
Marek Siarkowicz
9126a0fe11
Merge pull request #16324 from chaochn47/bump-up-gRPC
Fix http2 authority header in multiple endpoints scenario and bump up grpc from `v1.51.0` to `v1.52.0`
2023-07-31 08:58:58 +02:00
Chao Chen
8aeed09f2c endpoints.Interpret returns Host:port as ServerName
Signed-off-by: Chao Chen <chaochn@amazon.com>
2023-07-28 16:19:54 -07:00
Marek Siarkowicz
3b708df1e0
Merge pull request #16320 from serathius/rlock2
Remove RLock/RUnlock from BatchTx
2023-07-28 12:11:53 +02:00
Marek Siarkowicz
29769984e6 Remove RLock/RUnlock from BatchTx
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-07-28 11:39:50 +02:00
Benjamin Wang
44f6f4a4a2
Merge pull request #16323 from jmhbnz/improve-default-labels
Automate adding area/testing label to flake issues
2023-07-28 05:33:11 +01:00
James Blair
9bd0e83cdf
Automate adding area/testing label to flake issues.
Signed-off-by: James Blair <mail@jamesblair.net>
2023-07-28 10:07:08 +12:00
Chao Chen
e59e3d709c dependency: bump google.golang.org/grpc from 1.51.0 to 1.52.0
Signed-off-by: Chao Chen <chaochn@amazon.com>
2023-07-27 13:25:12 -07:00
Marek Siarkowicz
9f72c648d3
Merge pull request #14691 from serathius/lazyfs
tests: Add support for lazyfs
2023-07-27 15:27:10 +02:00
Marek Siarkowicz
145cae36ef
Merge pull request #16312 from serathius/rlock
server: Remove Lock/Unlock from ReadTx
2023-07-27 15:18:53 +02:00
Marek Siarkowicz
eb32d9cccc tests: Add support for lazyfs
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-07-27 13:42:38 +02:00
Marek Siarkowicz
6981e4820f
Merge pull request #16317 from serathius/substruct
tests: Make EtcdServerProcess substruct of proxyEtcdProcess to dummy methods when extending EtcdProcess interface
2023-07-27 13:41:14 +02:00
Marek Siarkowicz
b4f8a7be51 server: Remove Lock/Unlock from ReadTx
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-07-27 13:34:43 +02:00
Marek Siarkowicz
424ced9ff3
Merge pull request #16248 from CaojiamingAlan/replace_lock_with_rlock
Replace unnecessary Lock()/Unlock()s with RLock()/RUnlock()s
2023-07-27 12:15:46 +02:00
Marek Siarkowicz
828e789c18 tests: Make EtcdServerProcess substruct of proxyEtcdProcess to dummy methods when extending EtcdProcess interface
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-07-27 10:04:02 +02:00
Benjamin Wang
af07f18dce
Merge pull request #16272 from gocurr/fix_unique_urls
pkg/flags: fix UniqueURLs'Set to remove duplicates in UniqueURLs'uss
2023-07-26 16:26:42 +01:00
Jes Cok
4f78cc0810 pkg/flags: fix UniqueURLs'Set to remove duplicates in UniqueURLs'uss
From the name of func 'UniqueURLsFromFlag', we can tell that UniqueURLs'uss
should not have duplicates. The current implemention of UniqueURLs'Set
has a bug to make it unique.

Fixes: #16307.

Signed-off-by: Jes Cok <xigua67damn@gmail.com>
2023-07-26 22:28:44 +08:00
Marek Siarkowicz
6aad5084b0
Merge pull request #16310 from fuweid/test-lazyfs
tests/robustness: enhance compact failpoint
2023-07-26 16:01:07 +02:00
Wei Fu
516e096a97 tests/robustness: enhance compact failpoint
If the cluster serves requests slowly, the database has few revision
number and then Compact won't trigger BatchCommit. Add a loop to check
the last revision is big enough to trigger panic.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-07-26 21:32:16 +08:00
Benjamin Wang
21c4061d5c
Merge pull request #16288 from skitt/server-semconv-v1.17.0
server: switch to semconv v1.17.0
2023-07-26 13:30:55 +01:00
Benjamin Wang
a6bffb8565
Merge pull request #16306 from ArkaSaha30/main
Manual Dependency Bump
2023-07-26 13:00:59 +01:00
ArkaSaha30
da58ac9847
Bump github.com/mattn/go-runewidth to v0.0.15
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2023-07-26 13:02:43 +05:30
Benjamin Wang
326dab9bd7
Merge pull request #16279 from ahrtr/roadmap_20230721
Documentation: add roadmap
2023-07-26 08:14:17 +01:00
Benjamin Wang
cb4d3a5697 Documentation: add a roadmap
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-07-25 15:54:22 +01:00
Benjamin Wang
0ba8b0fb16
Merge pull request #16294 from etcd-io/dependabot/github_actions/github/codeql-action-2.21.0
build(deps): bump github/codeql-action from 2.20.4 to 2.21.0
2023-07-25 07:29:03 +01:00
dependabot[bot]
0e8c52504e
build(deps): bump github/codeql-action from 2.20.4 to 2.21.0
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.20.4 to 2.21.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](489225d82a...1813ca74c3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 17:56:26 +00:00
Stephen Kitt
1010115b8f
server: switch to semconv v1.17.0
This is the latest semconv package used in etcd's dependencies.
Switching to that version reduces the overall package dependencies of
the project (and helps downstream projects which track this,
e.g. Kubernetes).

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2023-07-24 15:53:04 +02:00
Benjamin Wang
d204487b6a
Merge pull request #16283 from lance5890/fix_typo_in_raft.go
update typo in raft.go
2023-07-24 12:42:37 +01:00
lan.tian
0f975acf2f
update typo in raft.go
Signed-off-by: lan.tian <lance5890@163.com>
2023-07-24 15:48:55 +08:00
Benjamin Wang
26b3ecf5aa
Merge pull request #16281 from eltociear/fix-typo
Fix typo in triage_issues.md
2023-07-23 14:51:46 +01:00
Ikko Eltociear Ashimine
0a314c9da3 Fix typo in triage_issues.md
Signed-off-by: Ikko Eltociear Ashimine <eltociear@gmail.com>
2023-07-23 22:47:17 +09:00
Benjamin Wang
6979a06e6c
Merge pull request #16257 from etcd-io/dependabot/go_modules/github.com/cheggaaa/pb/v3-3.1.4
build(deps): bump github.com/cheggaaa/pb/v3 from 3.1.2 to 3.1.4
2023-07-22 06:14:57 +01:00
Benjamin Wang
8d85baec80 dependency: bump github.com/cheggaaa/pb/v3 from 3.1.2 to 3.1.4 for etcdctl and tests
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-07-21 16:14:59 +01:00
dependabot[bot]
824337a272 build(deps): bump github.com/cheggaaa/pb/v3 from 3.1.2 to 3.1.4
Bumps [github.com/cheggaaa/pb/v3](https://github.com/cheggaaa/pb) from 3.1.2 to 3.1.4.
- [Commits](https://github.com/cheggaaa/pb/compare/v3.1.2...v3.1.4)

---
updated-dependencies:
- dependency-name: github.com/cheggaaa/pb/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 16:12:27 +01:00
Benjamin Wang
d1ade07ab0
Merge pull request #16261 from etcd-io/dependabot/go_modules/tools/mod/github.com/mikefarah/yq/v4-4.34.2
build(deps): bump github.com/mikefarah/yq/v4 from 4.34.1 to 4.34.2 in /tools/mod
2023-07-21 15:58:51 +01:00
Benjamin Wang
cd453b931f
Merge pull request #16271 from johnshajiang/cleanup-cluster
tests: cleanup unnecessary assignment in cluster.go
2023-07-20 08:16:36 +01:00
Benjamin Wang
92de641a22
Merge pull request #16268 from fuweid/fix-TestPageWriterRandom
pkg/ioutil: deflake TestPageWriterRandom
2023-07-19 16:07:47 +01:00
John Jiang
51a22c21ff tests: cleanup unnecessary assignment in cluster.go
Signed-off-by: John Jiang <john.sha.jiang@gmail.com>
2023-07-19 21:58:33 +08:00
Wei Fu
fddd1add52 pkg/ioutil: deflake TestPageWriterRandom
The PageWriter has cache buffer so that it doesn't call the Writer until
the cache is almost full. Since the data's length is random, the pending
bytes should be always less than cache buffer size, instead of page
size.

Fix: #16255

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-07-18 23:18:01 +08:00
Benjamin Wang
35628b9c78
Merge pull request #16230 from jmhbnz/align-arm64-commands
Ensure release is run for arm64 e2e nightly tests
2023-07-18 12:04:33 +01:00
James Blair
3ff0128842
Fix obtaining UPGRADE_VER in test.sh
Obtain tags from git ls-remote to avoid reliance on local repository state.

Signed-off-by: James Blair <mail@jamesblair.net>
2023-07-18 21:57:51 +12:00
Benjamin Wang
e209968dc3
Merge pull request #16263 from Rajalakshmi-Girish/flake-grpc-rr
Fix flaky integration/clientv3/naming TestEtcdGrpcResolverRoundRobin
2023-07-18 09:49:56 +01:00
Benjamin Wang
eb204f1d32
Merge pull request #16256 from gocurr/simplify_fmt_print
etcdctl/ctlv3/command: simplify code using fmt.Printf with '\n'
2023-07-18 09:47:36 +01:00
Benjamin Wang
7aad281317
Merge pull request #16252 from gocurr/avoid_hardcoding
pkg/expect: avoid hardcoding when checking ErrProcessDone
2023-07-18 09:47:03 +01:00
James Blair
2f65f56351
Ensure release is run for arm64 e2e nightly tests.
Signed-off-by: James Blair <mail@jamesblair.net>
2023-07-18 20:16:55 +12:00
Rajalakshmi Girish
ea72194935 Fix flaky integration/clientv3/naming TestEtcdGrpcResolverRoundRobin
Signed-off-by: Rajalakshmi Girish <rajalakshmi.girish1@ibm.com>
2023-07-17 23:53:02 -07:00
Benjamin Wang
0c643dfb21
Merge pull request #16258 from etcd-io/dependabot/github_actions/github/codeql-action-2.20.4
build(deps): bump github/codeql-action from 2.20.3 to 2.20.4
2023-07-17 19:30:35 +01:00
dependabot[bot]
b71f335740
build(deps): bump github.com/mikefarah/yq/v4 in /tools/mod
Bumps [github.com/mikefarah/yq/v4](https://github.com/mikefarah/yq) from 4.34.1 to 4.34.2.
- [Release notes](https://github.com/mikefarah/yq/releases)
- [Changelog](https://github.com/mikefarah/yq/blob/master/release_notes.txt)
- [Commits](https://github.com/mikefarah/yq/compare/v4.34.1...v4.34.2)

---
updated-dependencies:
- dependency-name: github.com/mikefarah/yq/v4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17 17:40:07 +00:00
dependabot[bot]
91215fb1ca
build(deps): bump github/codeql-action from 2.20.3 to 2.20.4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.20.3 to 2.20.4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](46ed16ded9...489225d82a)

---
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>
2023-07-17 17:24:31 +00:00
Jes Cok
223a75b399 etcdctl/ctlv3/command: simplify code using fmt.Printf with '\n'
The current printing code is complicated. This PR simplifies the
code and reduces the function calls.

Signed-off-by: Jes Cok <xigua67damn@gmail.com>
2023-07-17 19:37:15 +08:00
Benjamin Wang
bedd13298d
Merge pull request #16251 from liangyuanpeng/changelog_backport_13577
Add changelog for backport 13577 to 3.4&3.5.
2023-07-17 08:25:25 +01:00