20256 Commits

Author SHA1 Message Date
Wei Fu
5e3910d96c *: fix govet-shadow lint
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-09-19 20:24:01 +08:00
Benjamin Wang
c70ac642ae
Merge pull request #16595 from ahrtr/gw_20230913
Upgrade grpc-gateway from v1 to v2
2023-09-19 09:39:43 +01:00
Benjamin Wang
357d22667c
Merge pull request #16609 from etcd-io/dependabot/github_actions/github/codeql-action-2.21.7
build(deps): bump github/codeql-action from 2.21.5 to 2.21.7
2023-09-19 07:29:03 +01:00
dependabot[bot]
84d0f1fcc5
build(deps): bump github/codeql-action from 2.21.5 to 2.21.7
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.21.5 to 2.21.7.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](00e563ead9...04daf014b5)

---
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-09-18 17:38:07 +00:00
Benjamin Wang
8eba295bc5 Resolve review comments: add some comments to clarify some confusion script or code
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-09-18 12:09:46 +01:00
Benjamin Wang
d06cdfa1ee Updated the tools/proto-annotation to exclude grpc.gateway package
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-09-18 11:22:16 +01:00
Benjamin Wang
5444cdae69 remove all usage of v1 grpc-gateway
1. Manually updated go source file to remove the usage of v1 grpc-gateway;
2. Execute ./scripts/fix.sh

Signed-off-by: Benjamin Wang <wachao@vmware.com>
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-09-18 11:22:16 +01:00
Benjamin Wang
de41d4d8aa dependency: set github.com/grpc-ecosystem/grpc-gateway/v2 version to 2.17.1 for all modules
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-09-18 11:22:16 +01:00
Benjamin Wang
189f709a5d Apply patches on the generated *.pb.gw.go files to convert v1 messages to v2 messages
Signed-off-by: Benjamin Wang <wachao@vmware.com>
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-09-18 11:22:16 +01:00
Benjamin Wang
4ec581a6a3 re-generate all the *.pb.gw.go files
Run ./scripts/genproto.sh

Signed-off-by: Benjamin Wang <wachao@vmware.com>
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-09-18 11:22:15 +01:00
Wei Fu
522b698928 upgrade grpc-gateway from v1 to v2
Signed-off-by: Wei Fu <fuweid89@gmail.com>
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-09-18 11:22:15 +01:00
Benjamin Wang
700411d838
Merge pull request #16601 from fuweid/fix-nakedret-lint
*: fix nakedret lint
2023-09-18 10:00:25 +01:00
Marek Siarkowicz
0917288ad5
Merge pull request #16604 from chenyahui/interface_to_any
Use any instead of interface{}
2023-09-18 10:16:36 +02:00
Wei Fu
e72c2c40d4 *: fix nakedret lint
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-09-17 23:52:41 +08:00
chenyahui
c0aa3b613b Use any instead of interface{}
Signed-off-by: chenyahui <cyhone@qq.com>
2023-09-17 17:41:58 +08:00
Wenjia
fb8a315be6
Merge pull request #16600 from jmhbnz/add-owners-file
Add OWNERS file for etcd
2023-09-16 11:09:41 -07:00
James Blair
371bedad27
Add OWNERS file for etcd.
Signed-off-by: James Blair <mail@jamesblair.net>
2023-09-16 19:43:05 +12:00
Benjamin Wang
9ec5f98189
Merge pull request #16594 from dusk125/upgrade-1.21
Update to go1.21
2023-09-14 09:26:35 +01:00
Allen Ray
cc130fd2d4 Update to go1.21
Signed-off-by: Allen Ray <alray@redhat.com>
2023-09-13 10:10:02 -04:00
Benjamin Wang
afade99a79
Merge pull request #16587 from ahrtr/grpc_20230912
dependency: bump google.golang.org/grpc to 1.58.0
2023-09-13 09:15:56 +01:00
Benjamin Wang
2a0613bc22 dependency: bump google.golang.org/grpc to 1.58.0
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-09-12 10:47:14 +01:00
Benjamin Wang
cc282a890b
Merge pull request #16572 from ahrtr/fix_curl_test_20230911
test: simply the expected output for some curl test cases
2023-09-12 09:44:00 +01:00
Benjamin Wang
d506a72f32
Merge pull request #16584 from ahrtr/dependencies_20230911
dependency: bump golang.org/x/net from v0.14.0 to v0.15.0
2023-09-12 09:21:40 +01:00
Benjamin Wang
f25f131f36
Merge pull request #16586 from redwrasse/sshah/store-cmt-cleanup
mvcc: cleanup comment in HashStorage.Store
2023-09-12 08:39:30 +01:00
redwrasse
b79cbcc3db mvcc: cleanup comment in HashStorage.Store
Signed-off-by: redwrasse <mail@redwrasse.io>
2023-09-11 21:54:42 -07:00
Benjamin Wang
909d795601 dependency: bump golang.org/x/net from v0.14.0 to v0.15.0
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-09-11 19:36:18 +01:00
Benjamin Wang
9c8ad8ed72
Merge pull request #16575 from etcd-io/dependabot/github_actions/actions/upload-artifact-3.1.3
build(deps): bump actions/upload-artifact from 3.1.2 to 3.1.3
2023-09-11 19:29:55 +01:00
dependabot[bot]
17ade8ff07
build(deps): bump actions/upload-artifact from 3.1.2 to 3.1.3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](0b7f8abb15...a8a3f3ad30)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 17:20:06 +00:00
Benjamin Wang
d687bd0989 test: simply the expected output for some curl test cases"
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-09-11 13:50:26 +01:00
Benjamin Wang
6544add961
Merge pull request #16570 from ahrtr/election_rest_20230910
test: add test case to cover all election REST APIs
2023-09-11 11:07:39 +01:00
Benjamin Wang
4445e0831f
Merge pull request #16566 from fuweid/update-changelog-35
CHANGELOG: update 3.5 with #16565
2023-09-11 11:07:17 +01:00
Benjamin Wang
18f70c2553 test: add test case to cover all election REST APIs
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-09-10 20:52:40 +01:00
Benjamin Wang
9e7f83799f
Merge pull request #16564 from ahrtr/split_rest_20230909
test: split watch and election tests to separate files
2023-09-10 19:47:22 +01:00
Benjamin Wang
cfb6d24c65
Merge pull request #16567 from sharathsivakumar/shsi/bump_dependencies_4
dependency: bump yamlfmt,sys,otelgrpc,otlptracegrpc
2023-09-09 16:18:10 +01:00
sharathsivakumar
6dae088423
dependency: bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.16.0 to 1.17.0
Signed-off-by: sharathsivakumar <mailssr9@gmail.com>
2023-09-09 16:20:31 +02:00
sharathsivakumar
5d1b0d1170
dependency: bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.42.0 to 0.43.0
Signed-off-by: sharathsivakumar <mailssr9@gmail.com>
2023-09-09 16:20:13 +02:00
sharathsivakumar
e47d10fca7
dependency: bump golang.org/x/sys from 0.11.0 to 0.12.0
Signed-off-by: sharathsivakumar <mailssr9@gmail.com>
2023-09-09 16:19:54 +02:00
sharathsivakumar
3b736aefe2
dependency: bump github.com/google/yamlfmt from 0.9.0 to 0.10.0
Signed-off-by: sharathsivakumar <mailssr9@gmail.com>
2023-09-09 16:19:32 +02:00
Wei Fu
83e5424b78 CHANGELOG: update 3.5 with #16565
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-09-09 21:56:51 +08:00
Benjamin Wang
7f2949bac1 test: split watch and election tests to separate files
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-09-09 09:40:45 +01:00
Benjamin Wang
8011a53655
Merge pull request #16553 from ahrtr/lock_rest_20230908
test: add test case to cover lock restful APIs
2023-09-09 09:35:15 +01:00
Benjamin Wang
a13fc7e51c
Merge pull request #16508 from new-dream/main-concurrentreadtxn
server: optimizing memory overhead of copy operation in ConcurrentReadTxn
2023-09-09 09:35:00 +01:00
Benjamin Wang
b72227ece3
Merge pull request #16557 from ahrtr/changelog_golang_20230908
changelog: update changelog to cover the goalng bump
2023-09-08 18:32:58 +01:00
Benjamin Wang
310e8843e4 changelog: update changelog to cover the goalng bump
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-09-08 17:04:42 +01:00
Benjamin Wang
0b27aff79c test: add test case to cover lock restful APIs
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-09-08 17:04:01 +01:00
Benjamin Wang
e121eae908
Merge pull request #16554 from ahrtr/golang_20230908
dependency: bump golang to 1.20.8
2023-09-08 17:03:06 +01:00
Benjamin Wang
a9931b46e3 dependency: bump golang to 1.20.8
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-09-08 16:29:14 +01:00
Benjamin Wang
7192b6e379
Merge pull request #16357 from liggitt/fieldmask
dependency: bump github.com/grpc-ecosystem/grpc-gateway/v2 from v2.7.0 to v2.16.2
2023-09-07 15:05:19 +01:00
Benjamin Wang
0e972a1a24
Merge pull request #16545 from ahrtr/member_rest_20230905
test: add test cases to cover cluster RESTful APIs
2023-09-07 14:28:19 +01:00
Jordan Liggitt
6599dec92b
dependency: bump github.com/grpc-ecosystem/grpc-gateway/v2 from v2.7.0 to v2.17.1
Signed-off-by: Jordan Liggitt <liggitt@google.com>
2023-09-07 08:49:57 -04:00